Not with IM. Also wether you can actually do it at all depends on the IM format.
JPG images will probably not be simple, due to its speciallised compression,
but if it is posible, remember the pixels may not be exactly the same colors as what you had when you saved the image. JPG is a lossy compression and purposaly losses information (even at 100% quality) to allow the image to compress better (hopfully so that the change is not eye visible).
Access pixels without loading the complete file into memory
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/