Comments (3)
en.wikipedia.org/wiki/JPEG. It says "After subsampling, each channel must be split into 8×8 blocks. Depending on chroma subsampling, this yields (Minimum Coded Unit) MCU blocks of size 8×8 (4:4:4 – no subsampling), 16×8 (4:2:2), or most commonly 16×16 (4:2:0)." (via http://www.imagemagick.org/discourse-server/viewtopic.php?t=23162)
I'm having a bit of a time figuring out whether "iMCU" and "MCU" are different, but I can't get ahold of a copy of the JPEG standard, which would make this a lot easier.
Here's how you check that in imagemagick: http://www.imagemagick.org/discourse-server/viewtopic.php?t=17145
I don't know how with your libraries.
from cropgui.
Is there any real need for this? jpegtran
already considers iMCU when it does the actual cropping. Perhaps this issue can be closed?
from cropgui.
True, jpegtran considers iMCU. However, when iMCU size is 16, this can give a result that differs by 8 pixels from what I see in cropgui.
When I want to cut out an image with sharp borders (such as a scan of a photograph, where the scanned region is a little larger than the photograph) 8 pixels of the border might remain in the image. The result is very ugly.
Also, when cropping photos of text on signs, small differences between preview in cropgui and final result by jpegtran can be annoying.
from cropgui.
Related Issues (20)
- It's possible to set crop boundaries outside of the image, causing jpegtran error HOT 5
- make python3 release HOT 2
- cropgui 0.4 cropping wrong area HOT 1
- install.sh mixes python3 script with python2 modules HOT 4
- Migration to pillow-7.0.0 and python-3? HOT 3
- Release 0.5 HOT 1
- Application icon is too small HOT 1
- Don't override files uncondicionally
- Does not crop to the correct area HOT 1
- You must add /usr/lib/python3/dist-packages to PYTHONPATH HOT 4
- Make some crop parameters editable
- Some JPEGs are identified as MPOs HOT 2
- thumbnail is included without being cropped
- cannot import name 'ImageTk' from 'PIL' with Python 3.9 HOT 1
- cropgui does not properly handle paths containing spaces HOT 9
- get_primary_monitor() doesn't work with Wayland and is deprecated HOT 4
- Incompatible with Python 3.10 HOT 2
- PEP 632 -- Deprecate distutils module
- Nothing is saved on Linux Mint (Gtk) HOT 2
- Add option to wipe area HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cropgui.