From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: Carbon (22): PNGs broken Date: Sat, 03 May 2008 23:07:59 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1209823712 28125 80.91.229.12 (3 May 2008 14:08:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 May 2008 14:08:32 +0000 (UTC) Cc: emacs- devel To: David Reitter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 03 16:09:06 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JsIQ1-0001d4-JO for ged-emacs-devel@m.gmane.org; Sat, 03 May 2008 16:08:53 +0200 Original-Received: from localhost ([127.0.0.1]:60035 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JsIPK-0004Qe-6m for ged-emacs-devel@m.gmane.org; Sat, 03 May 2008 10:08:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JsIPF-0004QR-83 for emacs-devel@gnu.org; Sat, 03 May 2008 10:08:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JsIPC-0004Pp-Kj for emacs-devel@gnu.org; Sat, 03 May 2008 10:08:04 -0400 Original-Received: from [199.232.76.173] (port=38188 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JsIPC-0004Pm-FS for emacs-devel@gnu.org; Sat, 03 May 2008 10:08:02 -0400 Original-Received: from ntp.math.s.chiba-u.ac.jp ([133.82.132.2] helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JsIPB-0002oM-NU for emacs-devel@gnu.org; Sat, 03 May 2008 10:08:02 -0400 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id D1DE12C40; Sat, 3 May 2008 23:07:59 +0900 (JST) In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/23.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-kernel: by monty-python.gnu.org: NetBSD 3.0 (DF) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:96375 Archived-At: >>>>> On Sat, 3 May 2008 13:49:41 +0100, David Reitter said: > The last set of check-ins that introduces Image I/O API use in the > Carbon port (22 branch) broke PNG display; my PNGs are all blue-on- > white now (both in tool-bar and when loaded in a buffer). I didn't > specifically set USE_MAC_IMAGE_IO, so it is at its default (FALSE or > not defined unless I'm mistaken). Sounds like an endian issue if you run it on an Intel machine. Could you try adding kCGBitmapByteOrder32Host to the last argument of each CGBitmapContextCreate call? YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp