Create account / Log in

Reducing Map Size

Talk about module design ideas and techniques.

Moderators: uckelman, Tim M

Reducing Map Size

Postby Cundiff » October 21st, 2020, 9:50 pm

Howdy Gents,

I'm wondering what to do when the overall map size (95mb as a jpg) as well as the counters (over 400) and the player aid cards exceed maximum mb size of a vassal mod. I don't want to reduce the map resolution and counter size because of the number of counters (front and back by the way) would be an enormous amount of extra work.

So, what should I do?

Thanks,
Tom
Cundiff
 
Posts: 186
Joined: January 3rd, 2017, 8:51 am

Re: Reducing Map Size

Postby uckelman » October 21st, 2020, 9:56 pm

Thus spake Cundiff:
> Howdy Gents,
>
> I'm wondering what to do when the overall map size (95mb as a jpg) as
> well as the counters (over 400) and the player aid cards exceed maximum
> mb size of a vassal mod. I don't want to reduce the map resolution and
> counter size because of the number of counters (front and back by the
> way) would be an enormous amount of extra work.
>
> So, what should I do?

What are the dimensions of the map? Is the map a scan?

Similarly for the player aid cards.

Are you saying the counters are 400 in number, or 400MB?

--
J.
User avatar
uckelman
Site Admin
 
Posts: 8985
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Reducing Map Size

Postby Cundiff » October 21st, 2020, 10:48 pm

Map size is 16091 x 16275 (95.7 mb) jpg
Player Aide Card 1 is 4500 x 3477 jpg
Player Aide Card 2 is 4500 x 3477 jpg
Counters number in excess of 400 (being front and back facings)

Thanks,
Tom
Cundiff
 
Posts: 186
Joined: January 3rd, 2017, 8:51 am

Re: Reducing Map Size

Postby uckelman » October 21st, 2020, 11:12 pm

Thus spake Cundiff:
> Map size is 16091 x 16275 (95.7 mb) jpg
> Player Aide Card 1 is 4500 x 3477 jpg
> Player Aide Card 2 is 4500 x 3477 jpg

And my other quesion: Are these scans?

--
J.
User avatar
uckelman
Site Admin
 
Posts: 8985
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Reducing Map Size

Postby Cundiff » October 21st, 2020, 11:24 pm

No, as far as I know they aren't. I'm certain of the counters and the aids.
I'm unsure about the map. It was sent to me as a png. I had to reduce it by changing it from png to jpg.
Cundiff
 
Posts: 186
Joined: January 3rd, 2017, 8:51 am

Re: Reducing Map Size

Postby uckelman » October 21st, 2020, 11:28 pm

Thus spake Cundiff:
> No, as far as I know they aren't. I'm certain of the counters and the
> aids.
> I'm unsure about the map. It was sent to me as a png. I had to reduce
> it by changing it from png to jpg.

Ah. That may have been a mistake. Reduce it _how_? In size on disk? In
dimensions? Both?

--
J.
User avatar
uckelman
Site Admin
 
Posts: 8985
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Reducing Map Size

Postby Cundiff » October 22nd, 2020, 12:01 am

Reduce it in megabyte size, while keeping dimensions (resolution) which is necessary to match counter sizes.
Cundiff
 
Posts: 186
Joined: January 3rd, 2017, 8:51 am

Re: Reducing Map Size

Postby uckelman » October 22nd, 2020, 12:05 am

Thus spake Cundiff:
> Reduce it in megabyte size, while keeping dimensions (resolution) which
> is necessary to match counter sizes.

Did you try using a PNG packer first, such as optipng?

--
J.
User avatar
uckelman
Site Admin
 
Posts: 8985
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Reducing Map Size

Postby Cundiff » October 22nd, 2020, 12:29 am

Do not know what that is. Is it a downloadable program?
Cundiff
 
Posts: 186
Joined: January 3rd, 2017, 8:51 am

Re: Reducing Map Size

Postby Brent Easton » October 22nd, 2020, 12:43 am

Yes, you be able to find it on the web. It will help a bit, but ultimately, you are going to have to give way on either map size or map quality. Since map size is now fixed by the size of you counters, it will have to be map quality.

JPG files are smaller than an equivalent PNG file because it is a 'lossy' format that throws away 'unnecessary' data. When you converted from PNG to JPG, you would have been asked for a percentage 'quality' value to use. The lower the % you specify, the smaller the resulting file becomes at the expense of the image quality when it is reconstituted.

For large-scale maps where you spend a lot of time zoomed in anyway, the lack of fidelity is not necessarily a problem. For my GTS modules, I do all preparation work and changes as PNG's at 100% quality. At the last moment before copying into the module, I convert the to JPG with a '90%' quality setting. This give a large reduction is size with an amount of image degradation that is not noticeable. It's a matter of trying different values and seeing what works for you.

My standard counter size is 75x75 with the map scaled to hexes 110 pixels across the flat side. You may have some scope to reduce the overall size of the map if it has a larger hex to counter size than that.

Rgds.
User avatar
Brent Easton
 
Posts: 3226
Joined: December 21st, 2007, 3:06 am
Location: Berry, NSW, Australia

Re: Reducing Map Size

Postby Cundiff » October 22nd, 2020, 12:58 am

I'll see what I can do about reducing the map quality.
Cundiff
 
Posts: 186
Joined: January 3rd, 2017, 8:51 am

Re: Reducing Map Size

Postby jrwatts » October 22nd, 2020, 2:11 am

Alternatively, a simple batch script could use ImageMagick to resize everything quite easily (I'm not an ImageMagick expert, so I don't know the commands to use off the top of my head).
jrwatts
 
Posts: 125
Joined: April 29th, 2020, 10:30 pm

Re: Reducing Map Size

Postby Cundiff » October 22nd, 2020, 5:13 am

converted from PNG to JPG, you would have been asked for a percentage 'quality' value to use. The lower the % you specify, the smaller the resulting file becomes at the expense of the image quality when it is reconstituted.

THIS Worked :)
Cundiff
 
Posts: 186
Joined: January 3rd, 2017, 8:51 am


Return to Module Design

Who is online

Users browsing this forum: No registered users and 4 guests