If you start with a projection other than equirectangular, use the --invert flag to convert FROM the target projection. Notice that some projections don't include the necessary data to completely recreate an equirect map.
--projection mercator --invert -w 400 -h 200 -f ..\..\..\Tests\Input\earth_mercator.png -o ..\..\..\Tests\Output\InvertFromMercator.png
--projection Azimuthal -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\ToAzimuthal.png
--projection Bonne -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\ToBonne.png
--projection Cylindrical -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\ToCylindrical.png
--projection EqualArea -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\ToEqualArea.png
--projection Equirect -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\ToEquirect.png
--projection Equirectangular -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\ToEquirectangular.png
--projection Gnomonic -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\ToGnomonic.png
--projection Hammer -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\ToHammer.png
--projection LatLong -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\ToLatLong.png
--projection Mercator -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\ToMercator.png
--projection Mollweide -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\ToMollweide.png
--projection Orthographic -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\ToOrthographic.png
--projection Perspective -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\ToPerspective.png
--projection Rectilinear -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\ToRectilinear.png
--projection Sinusoidal -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\ToSinusoidal.png
--projection Sinusoidal2 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\ToSinusoidal2.png
--projection Stereographic -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\ToStereographic.png
Many projections leave a blank area around the perimeter of the map. Fill that blank area with an optional background color
--bgcolor 255,0,0 --projection perspective -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\WithBackgroundColor.png
Many projections leave a blank area around the perimeter of the map. Fill that blank area with an optional background image
--bg ..\..\..\Tests\Input\background.png --projection hammer -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\WithBackgroundImage.png
Background color can have partial opacity by passing in a --bgcolor with a fourth value less than 255
--bgcolor 255,0,0,32 --projection sinusoidal -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\WithSemiTransparentBackgroundColor.png
Generate a series of images that proceed according to the increment variables you specify. Without increment variables it just outputs the same image over and over.
--loop 3 --latinc 10 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\LoopBasic.png
--projection perspective --loop 6 --latinc 30 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\LoopWithProjection.png
--projection orthographic --lat 30 --loop 5 --longinc 60 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\LoopWithProjectionAndParams.png
Adjusts the final output size in case your projection needs more room.
--adjust -w 400 -h 400 --projection mercator -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\Adjust.png
--lat 45 --lon 45 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\OffsetLatLon.png
--xoff 2 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\OffsetX.png
Applies an offset to the image itself, with units depending on the type of projection. Probably keep it between -2PI and +2PI. Probably not what you want. Included for backward compatibility.
--xoff 1 --yoff 1 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\OffsetXY.png
--yoff 1 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\OffsetY.png
--radius 15 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\Radius.png
Note the radius is relative to the projection, not the image, so the shape of the output depends on the projection.
--radius 75 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\RadiusLarger.png
--rotate 45 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\Rotate.png
--scale .5 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\ScaleDown.png
--scale 2 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\ScaleUp.png
Like rotating the globe about the equator at 0 longitude.
--tilt 45 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\Tilt.png
Like rotating the globe about its poles.
--turn 45 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\Turn.png
--quality Best --projection gnomonic -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\QualityBest.png
--quality Bicubic --projection gnomonic -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\QualityBicubic.png
--quality Bilinear --projection gnomonic -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\QualityBilinear.png
--quality Fast --projection gnomonic -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\QualityFast.png
--quality Good --projection gnomonic -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\QualityGood.png
--quality NearestNeighbor --projection gnomonic -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\QualityNearestNeighbor.png
--widget altitudes -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\AltitudesBasic.png
--widget Altitudes --widgetcolor 128,255,128 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\AltitudesColor.png
--widget Altitudes --wlat 45 --wlon 45 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\AltitudesPosition.png
--widget temporaryhours --projection azimuthal -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\AltitudesWithProjection.png
--widget analemma -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\AnalemmaBasic.png
--widget analemma --widgetcolor 0,255,255 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\AnalemmaColor.png
--widget analemma --gridx 60 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\AnalemmaSpacing.png
--widget analemma --projection hammer -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\AnalemmaWithProjection.png
--widget Dateline -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\BasicDateline.png
--widget Dateline --widgetcolor 128,255,128 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\DatelineColor.png
--widget Dateline --wday 180 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\DatelineDay.png
--widget Dateline --projection azimuthal -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\DatelineWithProjection.png
--widget Datetime -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\BasicDatetime.png
--widget Datetime --widgetcolor 128,255,128 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\DatetimeColor.png
--widget Datetime --wday 180 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\DatetimeDay.png
--widget Datetime --projection azimuthal -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\DatetimeWithProjection.png
--widget grid -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\BasicGrid.png
--widget grid --gridcolor 0,255,0 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\GridColor.png
--widget grid --gridx 15 --gridy 60 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\GridSizing.png
--widget grid --projection hammer -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\GridWithProjection.png
--widget grid --projection perspective --lat 60 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\GridWithProjection2.png
--widget Indicatrix --widgetcolor 255,0,0,32 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\BasicIndicatrix.png
--widget Indicatrix --widgetcolor 128,255,128,32 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\IndicatrixColor.png
By default this widget tries to be smart about where it places the indicatrices by skipping some nearer the poles. Use this flag to disable the smartness.
--widget Indicatrix --wnaivespacing --widgetcolor 255,0,0,32 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\IndicatrixNaiveSpacing.png
--widget Indicatrix --gridx 60 --gridy 60 --widgetcolor 255,0,0,32 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\IndicatrixSpacing.png
--widget Indicatrix --projection azimuthal --widgetcolor 255,0,0,32 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\IndicatrixWithProjection.png
--widget localhours -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\BasicLocalHours.png
--widget localhours --widgetcolor 128,128,255 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\LocalHoursColor.png
--widget localhours --wlon 60 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\LocalHoursPosition.png
--widget temporaryhours --projection orthographic -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\LocalHoursWithProjection.png
--widget temporaryhours -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\BasicTemporaryHours.png
--widget temporaryhours --widgetcolor 128,128,255 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\TemporaryHoursColor.png
--widget temporaryhours --wlat 60 --wlon 60 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\TemporaryHoursPosition.png
--widget temporaryhours --projection sinusoidal -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\TemporaryHoursWithProjection.png
--widget Tropics -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\BasicTropics.png
--widget Tropics --widgetcolor 128,255,128 -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\TropicsColor.png
--widget tropics --projection gnomonic -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\TropicsWithProjection.png
This is the default mode, it returns one image with widgets rendered directly over the map.
--projection hammer --widget grid --widgetmode combined -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\WidgetCombinedMode.png
Does not return the projected map at all, only the projected widgets alone.
--projection hammer --widget grid --widgetmode widgetonly -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\WidgetOnlyMode.png
Returns two separate, projected images, one of the map, one of the matching widgets
--projection hammer --widget grid --widgetmode separate -f ..\..\..\Tests\Input\earth_equirect.png -o ..\..\..\Tests\Output\WidgetSeparateMode.png



























































































