python imaging library - Re-coding Select JPEG Blocks with Pillow / PIL -
python imaging library - Re-coding Select JPEG Blocks with Pillow / PIL -
is there someway in pil / pillow open jpeg file, modify portion of image , save image jpeg blocks modifications re-encoded?
there libraries back upwards this: https://en.wikipedia.org/wiki/jpeg#lossless_editing
what describing impossible. jpeg encodes in groups called mcus composed of 1 or more 8x8 info blocks. you'd have encode along info block or mcu boundary.
the other problem dc coefficients (the [0,0] coefficient dc) encoded together. changing 1 means need alter ones follow.
jpeg python-imaging-library pillow
Comments
Post a Comment