1 |
On Mon, May 21, 2012 at 11:31 AM, Michael Mol <mikemol@×××××.com> wrote: |
2 |
> |
3 |
> I'm seriously wondering if there might not be something broken with |
4 |
> the .jpeg files I'm spitting out. That laptop (saffron) is in the |
5 |
> middle of an overdue emerge --update --deep --newuse @world, though. |
6 |
> (And I saw it was complaining about 19 blockers...) It may be overdue |
7 |
> for a depclean and some other maintenance. I haven't tweaked things |
8 |
> much, as it's my last functioning Gentoo box until I get kaylee and |
9 |
> inara fixed. |
10 |
|
11 |
It looks like the file uses arithmetic coding, which has legal |
12 |
restrictions (patents, licensing, blah), which means many jpeg |
13 |
implementations do not support it. That probably is why it works in |
14 |
some places and not in others. You should pretty much always use |
15 |
Huffman coding instead of Arithmetic coding if you're using the images |
16 |
on the internet or sharing them with others. The image quality is not |
17 |
affected by this choice, only the way the data is stored in the file. |
18 |
The file size will be slightly larger using Huffman, but in most cases |
19 |
only barely larger. |