Brilliant, thanks! I encountered a similar issue last night with cropping resulting in a 1x1 pixel output but I worked around it by saving the image and reloading it before performing the crop. RePage() looks like a much cleaner solution as the volume of very small images I want to process in a short amount of time should benefit from not requiring the I/O operations for saving and reading files.
↧