bugFreeciv - Bugs: bug #21046, 'ppm|ppm' is not a helpful default...

Show feedback again

bug #21046: 'ppm|ppm' is not a helpful default mapimg format on Windows

Submitted by:  Jacob Nevins <jtn>
Submitted on:  Wed Aug 21 22:05:25 2013  
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: 2.4.0-RC1Operating System: Microsoft Windows
Planned Release: Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Sun Dec 15 18:03:01 2013, comment #1:

JFTR, all magick/xxx formats don't exactly work as expected on my 64bits Windows 7 box (wrong colours, e.g., water tiles are green.) I have no ImageMagick, maybe the color.xml setup file or similar is required. [[User:Dunnoob]]

Wed Aug 21 22:05:25 2013, original submission:

In the Windows 2.4.0-RC1 build, if you select "Game > Save Map Image", by default it will save a PPM file such as "freeciv-T0036-Y-2200-M-bcfktuZ2P000plrid.map.ppm" (in addition to saving it in an obscure location, bug #20356).

PPM files are not terribly useful on Windows, since generally Windows users won't have tools to view PPM files lying around. PNG would be more friendly as current versions of Windows support it natively. This seems like a shame, especially since Christian went to the trouble of including MagickWand support in the Windows builds.

Of course the user can fix this in their preferences by going to "Options" > "Local Client" > "Map Image" and setting "Image format" to "magick|png" from the dropdown, but it's a bit obscure.

We could make the default mapimg format depend on how Freeciv was compiled (so 'magick|png' is the default if available). I'm a little wary of that, because in principle it makes the behaviour of server scripts invoking '/mapimg' non-portable -- the behaviour depends on how your Freeciv happened to be built. We could make the default client-specific and assume server users know what they're doing. Or we could accept this level of variability in the server too ('compresstype' is morally similar and we live with that).

Jacob Nevins <jtn>
Project Administrator


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by jtn (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup