In the meeting, we tried to get the rotateimage program to produce a transparent alpha channel. I changed the data constructor from RGB to RGBA in the program. That didn’t work - it yielded a run-time pattern match failure.
I managed to get it to work now. When I converted the jpg to png, I had to add an alpha channel. The command (using ImageMagick) is:
convert -alpha set wonky.jpg wonky.png
That gives it an alpha channel, that is set at every pixel. Then when I run the modified rotateimage program on it, it rotates it and leave the unfilled area as transparent, instead of black.
- Lyle