From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SWWGr-0003JG-UI for garchives@archives.gentoo.org; Mon, 21 May 2012 17:19:50 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AC81DE07FE; Mon, 21 May 2012 17:19:11 +0000 (UTC) Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id F27E3E0CC1 for ; Mon, 21 May 2012 17:16:34 +0000 (UTC) Received: by bkcjk13 with SMTP id jk13so4819479bkc.40 for ; Mon, 21 May 2012 10:16:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=y2NYW2etFR/sbeBwgyADCJpjihJOlCgDL2Lb+aiM8UM=; b=yQcIu2vYvFQctwMKOXXDfnblBlQyCsIfssA5KeZ+UEOO2t6HFYxpcGb5OjrGVmUDOz 5pMKrDxGDWHnF4en1JOx8QyDYryMm/DQrVrsRX4erZReKrSZImC8xg9/GgJs6Td1p4RV Oa2Xy2KtTdB1RLKCWqel0R+mrElCW3gUVT8KqlGutwI1oU2ApKpnN/7rz6w2E0VINSDK 4B4yxxsBBpVqYZ/Tlk454bwRJotBOocPIrZOuPjO1cE6dcV7/KeoF55oHV9zLu++/cEH xW6IuekAvHChLkBXh6fkSyXLajyd8o9JESpZSeTDJHET0BqT+bDYb4MLr4E1+lVYkTZx G5Eg== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.204.129.87 with SMTP id n23mr8140151bks.19.1337620594106; Mon, 21 May 2012 10:16:34 -0700 (PDT) Received: by 10.204.42.207 with HTTP; Mon, 21 May 2012 10:16:34 -0700 (PDT) In-Reply-To: References: <20120512132257.GA2968@ca.inter.net> <20120515025033.GB2969@ca.inter.net> <20120517043419.GC2965@ca.inter.net> <20120519043828.GB2989@ca.inter.net> <4613CE50-114F-4B8D-BBC1-188F6D30BC21@stellar.eclipse.co.uk> <20120521003339.GA2980@ca.inter.net> <4C33C717-87E4-4A0F-AEC4-5B0D26C97247@stellar.eclipse.co.uk> Date: Mon, 21 May 2012 13:16:34 -0400 Message-ID: Subject: Re: [gentoo-user] merging or fitting images together From: Michael Mol To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: a0446835-176a-4c5a-bcfd-d95c6f490f65 X-Archives-Hash: ca62f01424120d2b081269c1da458f5d On Mon, May 21, 2012 at 12:57 PM, Paul Hartman wrote: > On Mon, May 21, 2012 at 11:31 AM, Michael Mol wrote: >> >> I'm seriously wondering if there might not be something broken with >> the .jpeg files I'm spitting out. That laptop (saffron) is in the >> middle of an overdue emerge --update --deep --newuse @world, though. >> (And I saw it was complaining about 19 blockers...) It may be overdue >> for a depclean and some other maintenance. I haven't tweaked things >> much, as it's my last functioning Gentoo box until I get kaylee and >> inara fixed. > > It looks like the file uses arithmetic coding, which has legal > restrictions (patents, licensing, blah), which means many jpeg > implementations do not support it. That probably is why it works in > some places and not in others. You should pretty much always use > Huffman coding instead of Arithmetic coding if you're using the images > on the internet or sharing them with others. The image quality is not > affected by this choice, only the way the data is stored in the file. > The file size will be slightly larger using Huffman, but in most cases > only barely larger. I'm familiar with the difference between Huffman and arithmetic[1]. I don't recall seeing any options for managing it, though. I'd have to check to find out what USE flags I've got enabled that might be involved. Also surprising that Windows 7 won't process it. [1] Side effect of having a crazy compression geek for a friend and coworker. I think he finally got around to trying my suggestion of saving off the deflate window state for seekable .tar.gz files. -- :wq