They are both rendered from the same cartographic shape with same compression/palette settings. I don't know what how to prepare them better. Maybe it would be easier to cut borders before conversion to grayscale PNG? (Originals are rendered as black & white images.) Yes, I know this is not trivial ...
Generally I use Windows but its scripting environment is too lazy so I often use Cygwin console too. Sorry for this mixed syntax - I know the difference between systems.
I would like only to preserve white borders between countries . Shoreline should be removed but it should be ...
I need to stretch oval shapes on cartographic bitmaps like this one - http://anatol.myqnapcloud.com/maps/STARS_6m_30000_proxy.jpg - in order to avoid distortions while wrapping images on sphere.
Shapes should be stretched horizontally (suppose according to log function): maximum ...