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

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -