Is it possible to stretch a picture using an equation. I have a flat map that I want to use as an overlay in a world creation program. But the map is planar, it needs to be progressively wider the further you go from the equator. Is there a way to do this in GIMP?
If the projection change isn’t arbitrary, you should be able to do it in hugin.
@jbclaypool Welcome to the forum. The best way to get help is to provide an example and details of your problem. Otherwise, we are just spit-balling.
@Reptorian may be able to help you or give you guidance from the G’MIC side of things…
On the G’MIC side of thing, you could do it via coding GLSL style within fill function. Fill has internal for loop inside it.
There is usually a way to do these things directly in gimp, but if you’re willing to “cheat” with the g’mic plugin the “Cartesian transform” filter can probably do that.
I’ll mention that the job could be done in ImageMagick. If you have an equation that, given the output coordinates, calculates the coordinates of the source, the task is simple.