Ignotus-mago / PixelAudio

PixelAudio maps arrays of audio samples onto arrays of pixel values.
Other
0 stars 0 forks source link

ImageTransform Problems #9

Open Ignotus-mago opened 4 months ago

Ignotus-mago commented 4 months ago

There were problems with flips on primary and secondary diagonals. I commented out adjustToImage(img) at the top of each ImageTransform method. As a result, from all the ImageTransform methods, I returned the whole display image as the new image. So, I'm not really working on the rectangular image I loaded from disk any longer, but on a PGraphics sized to the display. BitmapTransform methods then handle the display-sized image without problems. The display does not have to be a square.

However, this was not ideal, and it still isn't. Maybe I won't include ImageTransform in the first publication of the PixelAudio library. Solve it later.

Ignotus-mago commented 3 months ago

ImageTransform is now deprecated. Probably won't be included in the release version. It may be worth revisiting in some other context.