Thanks, Tas. I've had no interaction with MathMap yet, but see that the much-vaunted GIMP registry is dead. (I have indications that I may have installed it in the past, so maybe...) EDIT: But then, there's the
Keeper of the Lost Plugins.
Your "miniplanets" remind me that there are many ways to "map" the contents of one shape into/onto another.
In my application, I want
merely[1] to "copy across", line-by-line, stretching or squeezing the source line as needed to fit the length available in the target.
I didn't think to post a picture--but I didn't have one in my head at the time anyway. I want to distort, but only left-right, the contents of the square to fit into the contents of the red circle. (I made it easy on myself by making sure the images are the same height...)
Attachment:
MapOneShapeIntoAnother_LtoR.png [ 12.39 KiB | Viewed 8923 times ]
I've made progress doing it in Perl, but I've reached the Question:
How to resize a line of pixels while preserving as much fidelity as possible?
...and THAT sounds like GIMP's expertise.
In fact, my problem could be viewed as one of:
How to map pixels contained in one close path in GIMP onto pixels contained in another one?
[1] keeping in mind that nothing is impossible for the person who doesn't have to do it...