From unknown Sat Sep 06 00:52:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7799: 24.0.50; Animated images display strangely Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Jan 2011 04:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7799 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 7799@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.129437624723379 (code B ref -1); Fri, 07 Jan 2011 04:58:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Jan 2011 04:57:27 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pb4OE-000652-Nq for submit@debbugs.gnu.org; Thu, 06 Jan 2011 23:57:27 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pb4OB-00064p-U1 for submit@debbugs.gnu.org; Thu, 06 Jan 2011 23:57:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pb4VD-0008Rr-3Q for submit@debbugs.gnu.org; Fri, 07 Jan 2011 00:04:40 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:44583) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pb4VD-0008Rn-0k for submit@debbugs.gnu.org; Fri, 07 Jan 2011 00:04:39 -0500 Received: from [140.186.70.92] (port=47498 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pb4VB-0003yP-QC for bug-gnu-emacs@gnu.org; Fri, 07 Jan 2011 00:04:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pb4VA-0008Ra-6J for bug-gnu-emacs@gnu.org; Fri, 07 Jan 2011 00:04:37 -0500 Received: from smtp.getmail.no ([84.208.15.66]:36699) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pb4VA-0008Qc-1C for bug-gnu-emacs@gnu.org; Fri, 07 Jan 2011 00:04:36 -0500 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain Received: from get-mta-scan04.get.basefarm.net ([10.5.16.4]) by get-mta-out02.get.basefarm.net (Sun Java(tm) System Messaging Server 7.0-0.04 64bit (built Jun 20 2008)) with ESMTP id <0LEM007HJZFE5R10@get-mta-out02.get.basefarm.net> for bug-gnu-emacs@gnu.org; Fri, 07 Jan 2011 06:04:26 +0100 (MET) Received: from get-mta-scan04.get.basefarm.net (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id 6D2A21EEEE8B_D269EDAB for ; Fri, 07 Jan 2011 05:04:26 +0000 (GMT) Received: from smtp.getmail.no (unknown [10.5.16.4]) by get-mta-scan04.get.basefarm.net (Sophos Email Appliance) with ESMTP id 308B41EEEE57_D269EDAF for ; Fri, 07 Jan 2011 05:04:26 +0000 (GMT) Received: from quimbies.gnus.org ([84.215.51.58]) by get-mta-in03.get.basefarm.net (Sun Java(tm) System Messaging Server 7.0-0.04 64bit (built Jun 20 2008)) with ESMTP id <0LEM00LH9ZFELY00@get-mta-in03.get.basefarm.net> for bug-gnu-emacs@gnu.org; Fri, 07 Jan 2011 06:04:26 +0100 (MET) Received: from larsi by quimbies.gnus.org with local (Exim 4.72) (envelope-from ) id 1Pb4V0-0008M8-0S for bug-gnu-emacs@gnu.org; Fri, 07 Jan 2011 06:04:26 +0100 From: Lars Magne Ingebrigtsen X-Hashcash: 1:20:110107:bug-gnu-emacs@gnu.org::RxP0Mx09N3Rw+qmF:00000000000000000000000000000000000000004zf7 Date: Fri, 07 Jan 2011 06:04:25 +0100 Message-id: X-detected-operating-system: by eggs.gnu.org: Solaris 10 (1203?) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -5.2 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.2 (-----) When displaying some animated images, they look somewhat broken. Here's a test case: (url-retrieve "http://icanhascheezburger.files.wordpress.com/2010/12/funny-pictures-gifs-standing-cat.gif?w=215&h=205" (lambda (status) (goto-char (point-min)) (search-forward "\n\n") (let ((data (buffer-substring (point) (point-max)))) (pop-to-buffer "*animate*") (insert-image (create-animated-image data 'gif t))))) Apparently these are GIF images that have a background images, and the rest of the frames are of the "combine" type. Emacs doesn't seem to do the right thing in that case, although other animated GIFs look fine. In GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1) of 2011-01-07 on quimbies Windowing system distributor `The X.Org Foundation', version 11.0.10707000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US value of $XMODIFIERS: nil locale-coding-system: iso-latin-1-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t Recent input: C-y C-x C-e C-x s C-x o C-x 1 M-x r e p o r t - e m Recent messages: Ido mode enabled For information about GNU Emacs and the GNU system, type C-h C-a. Mark set Contacting host: icanhascheezburger.files.wordpress.com:80 # Reading [image/gif]... 1.47M of 1.47M (100%) [2 times] Reading... done. (No files need saving) Load-path shadows: ~/pgnus/contrib/vcard hides /home/larsi/lisp/vcard ~/lisp/zenirc-2.112/src/zenirc-example hides /home/larsi/lisp/zenirc-example ~/jukebox/lisp/captitle hides /home/larsi/lisp/captitle ~/jukebox/lisp/expect hides /home/larsi/lisp/expect /home/larsi/lisp/footnote hides /home/larsi/src/emacs/trunk/lisp/mail/footnote ~/pgnus/contrib/compface hides /home/larsi/src/emacs/trunk/lisp/gnus/compface ~/jukebox/lisp/time-date hides /home/larsi/src/emacs/trunk/lisp/calendar/time-date Features: (shadow sort hashcash message sendmail rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader emacsbug mail-utils url-cache url-http tls mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-gw url-auth url url-proxy url-privacy url-expand url-methods url-history url-cookie url-util url-parse auth-source netrc gnus-util url-vars mm-util mail-prsvr mailcap ido flyspell ispell dired regexp-opt add-log mail-extr jka-compr cl tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen From unknown Sat Sep 06 00:52:53 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Lars Magne Ingebrigtsen Subject: bug#7799: closed (Re: 24.0.50; Animated images display strangely) Message-ID: References: <87aabju5g1.fsf@stupidchicken.com> X-Gnu-PR-Message: they-closed 7799 X-Gnu-PR-Package: emacs Reply-To: 7799@debbugs.gnu.org Date: Mon, 08 Aug 2011 18:26:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1312827963-10083-1" This is a multi-part message in MIME format... ------------=_1312827963-10083-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #7799: 24.0.50; Animated images display strangely which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 7799@debbugs.gnu.org. --=20 7799: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D7799 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1312827963-10083-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 7799-done) by debbugs.gnu.org; 8 Aug 2011 18:25:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QqUWO-0002cG-Hm for submit@debbugs.gnu.org; Mon, 08 Aug 2011 14:25:53 -0400 Received: from vm-emlprdomr-02.its.yale.edu ([130.132.50.143]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QqUWN-0002c8-8g for 7799-done@debbugs.gnu.org; Mon, 08 Aug 2011 14:25:51 -0400 Received: from furball (dhcp-128-36-14-148.central.yale.edu [128.36.14.148]) (authenticated bits=0) by vm-emlprdomr-02.its.yale.edu (8.14.4/8.14.4) with ESMTP id p78IOlTo010643 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for <7799-done@debbugs.gnu.org>; Mon, 8 Aug 2011 14:24:47 -0400 From: Chong Yidong To: 7799-done@debbugs.gnu.org Subject: Re: 24.0.50; Animated images display strangely Date: Mon, 08 Aug 2011 14:24:46 -0400 Message-ID: <87aabju5g1.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.143 X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 7799-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) > When displaying some animated images, they look somewhat broken. > > Apparently these are GIF images that have a background images, and the > rest of the frames are of the "combine" type. Emacs doesn't seem to > do the right thing in that case, although other animated GIFs look > fine. This was fixed a while ago, so I'm closing the bug. ------------=_1312827963-10083-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 7 Jan 2011 04:57:27 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pb4OE-000652-Nq for submit@debbugs.gnu.org; Thu, 06 Jan 2011 23:57:27 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pb4OB-00064p-U1 for submit@debbugs.gnu.org; Thu, 06 Jan 2011 23:57:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pb4VD-0008Rr-3Q for submit@debbugs.gnu.org; Fri, 07 Jan 2011 00:04:40 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:44583) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pb4VD-0008Rn-0k for submit@debbugs.gnu.org; Fri, 07 Jan 2011 00:04:39 -0500 Received: from [140.186.70.92] (port=47498 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pb4VB-0003yP-QC for bug-gnu-emacs@gnu.org; Fri, 07 Jan 2011 00:04:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pb4VA-0008Ra-6J for bug-gnu-emacs@gnu.org; Fri, 07 Jan 2011 00:04:37 -0500 Received: from smtp.getmail.no ([84.208.15.66]:36699) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pb4VA-0008Qc-1C for bug-gnu-emacs@gnu.org; Fri, 07 Jan 2011 00:04:36 -0500 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain Received: from get-mta-scan04.get.basefarm.net ([10.5.16.4]) by get-mta-out02.get.basefarm.net (Sun Java(tm) System Messaging Server 7.0-0.04 64bit (built Jun 20 2008)) with ESMTP id <0LEM007HJZFE5R10@get-mta-out02.get.basefarm.net> for bug-gnu-emacs@gnu.org; Fri, 07 Jan 2011 06:04:26 +0100 (MET) Received: from get-mta-scan04.get.basefarm.net (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id 6D2A21EEEE8B_D269EDAB for ; Fri, 07 Jan 2011 05:04:26 +0000 (GMT) Received: from smtp.getmail.no (unknown [10.5.16.4]) by get-mta-scan04.get.basefarm.net (Sophos Email Appliance) with ESMTP id 308B41EEEE57_D269EDAF for ; Fri, 07 Jan 2011 05:04:26 +0000 (GMT) Received: from quimbies.gnus.org ([84.215.51.58]) by get-mta-in03.get.basefarm.net (Sun Java(tm) System Messaging Server 7.0-0.04 64bit (built Jun 20 2008)) with ESMTP id <0LEM00LH9ZFELY00@get-mta-in03.get.basefarm.net> for bug-gnu-emacs@gnu.org; Fri, 07 Jan 2011 06:04:26 +0100 (MET) Received: from larsi by quimbies.gnus.org with local (Exim 4.72) (envelope-from ) id 1Pb4V0-0008M8-0S for bug-gnu-emacs@gnu.org; Fri, 07 Jan 2011 06:04:26 +0100 From: Lars Magne Ingebrigtsen To: bug-gnu-emacs@gnu.org Subject: 24.0.50; Animated images display strangely X-Hashcash: 1:20:110107:bug-gnu-emacs@gnu.org::RxP0Mx09N3Rw+qmF:00000000000000000000000000000000000000004zf7 Date: Fri, 07 Jan 2011 06:04:25 +0100 Message-id: X-detected-operating-system: by eggs.gnu.org: Solaris 10 (1203?) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -5.2 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.2 (-----) When displaying some animated images, they look somewhat broken. Here's a test case: (url-retrieve "http://icanhascheezburger.files.wordpress.com/2010/12/funny-pictures-gifs-standing-cat.gif?w=215&h=205" (lambda (status) (goto-char (point-min)) (search-forward "\n\n") (let ((data (buffer-substring (point) (point-max)))) (pop-to-buffer "*animate*") (insert-image (create-animated-image data 'gif t))))) Apparently these are GIF images that have a background images, and the rest of the frames are of the "combine" type. Emacs doesn't seem to do the right thing in that case, although other animated GIFs look fine. In GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1) of 2011-01-07 on quimbies Windowing system distributor `The X.Org Foundation', version 11.0.10707000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US value of $XMODIFIERS: nil locale-coding-system: iso-latin-1-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t Recent input: C-y C-x C-e C-x s C-x o C-x 1 M-x r e p o r t - e m Recent messages: Ido mode enabled For information about GNU Emacs and the GNU system, type C-h C-a. Mark set Contacting host: icanhascheezburger.files.wordpress.com:80 # Reading [image/gif]... 1.47M of 1.47M (100%) [2 times] Reading... done. (No files need saving) Load-path shadows: ~/pgnus/contrib/vcard hides /home/larsi/lisp/vcard ~/lisp/zenirc-2.112/src/zenirc-example hides /home/larsi/lisp/zenirc-example ~/jukebox/lisp/captitle hides /home/larsi/lisp/captitle ~/jukebox/lisp/expect hides /home/larsi/lisp/expect /home/larsi/lisp/footnote hides /home/larsi/src/emacs/trunk/lisp/mail/footnote ~/pgnus/contrib/compface hides /home/larsi/src/emacs/trunk/lisp/gnus/compface ~/jukebox/lisp/time-date hides /home/larsi/src/emacs/trunk/lisp/calendar/time-date Features: (shadow sort hashcash message sendmail rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader emacsbug mail-utils url-cache url-http tls mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-gw url-auth url url-proxy url-privacy url-expand url-methods url-history url-cookie url-util url-parse auth-source netrc gnus-util url-vars mm-util mail-prsvr mailcap ido flyspell ispell dired regexp-opt add-log mail-extr jka-compr cl tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen ------------=_1312827963-10083-1-- From unknown Sat Sep 06 00:52:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7799: 24.0.50; Animated images display strangely Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Aug 2011 18:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7799 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 7799@debbugs.gnu.org Cc: cyd@stupidchicken.com Received: via spool by 7799-submit@debbugs.gnu.org id=B7799.131291396218411 (code B ref 7799); Tue, 09 Aug 2011 18:20:02 +0000 Received: (at 7799) by debbugs.gnu.org; 9 Aug 2011 18:19:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qqqtb-0004ms-Pt for submit@debbugs.gnu.org; Tue, 09 Aug 2011 14:19:22 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QqqtX-0004mj-Pe for 7799@debbugs.gnu.org; Tue, 09 Aug 2011 14:19:17 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1QqqsJ-0006gg-18; Tue, 09 Aug 2011 20:17:59 +0200 From: Lars Magne Ingebrigtsen In-Reply-To: <87aabju5g1.fsf@stupidchicken.com> (Chong Yidong's message of "Mon, 08 Aug 2011 14:24:46 -0400") Date: Tue, 09 Aug 2011 20:17:21 +0200 Message-ID: References: <87aabju5g1.fsf@stupidchicken.com> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEX+/v4DBASxsbLc3NwD AwMBAQEqKixUU1X29vcICAoCAgQAAAL///8BAQJ+fn8CAgJRZwaiAAABXUlEQVQ4jaXQv0vDQBQH 8IJrl9jWGhe1LhbEVZAsB8E1SzOfmyAdWgv1B7oWhCBWpVaFDh1d/AuE0ILccGTTQQgOigqWQCEZ 5VkjNe3l3iC+5Y773Pfe4xIcqcQ/wFlC4NBCYIUvyMFjF5oUthy3J4WKc13KhX2SQoIdbGet4flo D/7hlmRP5aufD5YMnKvbtrQ5P3JTcmCX03Lgm81ob4/CXkoKE2/17KIEWHkGQH2PQ+0GTPNxzYrB yxOFoEB6InTPAsiYQIoiOACuCVD4nXgIdwEd9DDJpJhY9QEoEF3VhEQ5Y1Lf8KFfSY5Bpx7QwAAw fLWlMS2C2n0/ndYJKIqiNqrFCPKzAAGAbqQ3PM8bScz731NRMvUsjFvzB/dpgexwAdjyrqLr+rk1 BnZIudxrY46LiZ9vaXEEThDonGLQxGA9XOwYdPeRBMOge4xBEQHbQmCsQkhigCb+BF9Xn17F3vXd 6AAAAABJRU5ErkJggg== X-Now-Playing: Pet Shop Boys's _The Most Incredible Thing (1)_: "Help Me" MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1QqqsJ-0006gg-18 X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1313518679.11553@zm97k2kEFVcHWcwlu9jAeA X-Spam-Status: No X-Spam-Score: -2.7 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) Chong Yidong writes: > This was fixed a while ago, so I'm closing the bug. It's much better than it used to be, but I'm still seeing some glitches. With emacs -Q and the latest bzr, eval the following: (url-retrieve "http://icanhascheezburger.files.wordpress.com/2011/08/0848b876-a808-4614-ac26-9285d46cc5f7.gif" (lambda (status) (goto-char (point-min)) (search-forward "\n\n") (let ((data (buffer-substring (point) (point-max)))) (pop-to-buffer "*animate*") (let ((image (create-image data 'gif t))) (insert-image image) (image-animate image nil 60))))) One single frame in the animation looks broken. That seems to be the case with all my test cases where the image displays buggily. (But most animated gifs display properly now.) Could it be a off-by-one error of some kind? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From unknown Sat Sep 06 00:52:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7799: 24.0.50; Animated images display strangely In-Reply-To: Resent-From: Andy Moreton Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Aug 2011 23:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7799 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 7799@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.131293159824499 (code B ref -1); Tue, 09 Aug 2011 23:14:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Aug 2011 23:13:18 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QqvU6-0006N5-3x for submit@debbugs.gnu.org; Tue, 09 Aug 2011 19:13:18 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QqvU3-0006My-3i for submit@debbugs.gnu.org; Tue, 09 Aug 2011 19:13:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QqvSt-0005Zt-BO for submit@debbugs.gnu.org; Tue, 09 Aug 2011 19:12:04 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:36483) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqvSt-0005Zp-9n for submit@debbugs.gnu.org; Tue, 09 Aug 2011 19:12:03 -0400 Received: from eggs.gnu.org ([140.186.70.92]:37731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqvSs-0004i0-1O for bug-gnu-emacs@gnu.org; Tue, 09 Aug 2011 19:12:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QqvSq-0005Z0-1b for bug-gnu-emacs@gnu.org; Tue, 09 Aug 2011 19:12:02 -0400 Received: from lo.gmane.org ([80.91.229.12]:44762) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqvSp-0005Yo-KX for bug-gnu-emacs@gnu.org; Tue, 09 Aug 2011 19:11:59 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QqvSo-0005DT-97 for bug-gnu-emacs@gnu.org; Wed, 10 Aug 2011 01:11:58 +0200 Received: from 82-69-64-228.dsl.in-addr.zen.co.uk ([82.69.64.228]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Aug 2011 01:11:58 +0200 Received: from andrewjmoreton by 82-69-64-228.dsl.in-addr.zen.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Aug 2011 01:11:58 +0200 X-Injected-Via-Gmane: http://gmane.org/ From: Andy Moreton Date: Wed, 10 Aug 2011 00:11:20 +0100 Lines: 112 Message-ID: <82vcu6p4dj.fsf@gmail.com> References: <87aabju5g1.fsf@stupidchicken.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 82-69-64-228.dsl.in-addr.zen.co.uk User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) Cancel-Lock: sha1:26KIh75k4eyRpeT3sCyL6CwVEQU= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.9 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) On Tue 09 Aug 2011, Lars Magne Ingebrigtsen wrote: > Chong Yidong writes: > >> This was fixed a while ago, so I'm closing the bug. > > It's much better than it used to be, but I'm still seeing some glitches. > > With emacs -Q and the latest bzr, eval the following: > > (url-retrieve > "http://icanhascheezburger.files.wordpress.com/2011/08/0848b876-a808-4614-ac26-9285d46cc5f7.gif" > (lambda (status) > (goto-char (point-min)) > (search-forward "\n\n") > (let ((data (buffer-substring (point) (point-max)))) > (pop-to-buffer "*animate*") > (let ((image (create-image data 'gif t))) > (insert-image image) > (image-animate image nil 60))))) > > One single frame in the animation looks broken. That seems to be the > case with all my test cases where the image displays buggily. (But most > animated gifs display properly now.) Could it be a off-by-one error of > some kind? I see the same glitchy behaviour in a win32 build of today's trunk, using the GnuWin32 build of libungif4.dll (v4.1.4.2616). With http://upload.wikimedia.org/wikipedia/commons/3/37/Clock.gif (580×580 pixels, 143 frames) I get a segfault. I'm happy to help debug if somebody more familar with GIFs and image display can make suggestions as to where to look next: Program received signal SIGSEGV, Segmentation fault. 0x01295e7c in gif_load (f=0x3703000, img=0x479d480) at image.c:7360 7360 int c = raster[y * image_width + x]; (gdb) info locals c = 0xfe subimage = 0xa496f8 raster = 0x724537d8 "\002\002\002\002" transparency_color_index = 0x2 disposal = 0x0 file = 0x103928d rc = 0x1 width = 0x244 height = 0x244 x = 0x9c y = 0xb7 i = 0x4 j = 0x1 ximg = 0x362bdc0 gif_color_map = 0xa47960 pixel_colors = {0x2ffffff, 0x2000000, 0x2d9d9d9, 0x2000000, 0x0 } gif = 0xa47908 image_height = 0xc9 image_width = 0xd4 memsrc = { bytes = 0x47a300c "GIF89aD\002D\002\221", len = 0x27d93, index = 0x27d93 } specified_bg = 0x341c81a specified_file = 0x341c81a specified_data = 0x47a2e61 bgcolor = 0x0 idx = 0x5 (gdb) bt #0 0x01295e7c in gif_load (f=0x3703000, img=0x479d480) at image.c:7360 #1 0x0128d5f5 in lookup_image (f=0x3703000, spec=0x47948fe) at image.c:1741 #2 0x0128be90 in Fimage_metadata (spec=0x47948fe, frame=0x341c81a) at image.c:975 #3 0x010368af in Ffuncall (nargs=0x2, args=0x82e780) at eval.c:3012 #4 0x010ddcbc in exec_byte_code (bytestr=0x13ec8f9, vector=0x13ec945, maxdepth=0xc, args_template=0x341c81a, nargs=0x0, args=0x0) at bytecode.c:785 #5 0x0103779c in funcall_lambda (fun=0x13ec8d5, nargs=0x1, arg_vector=0x341c81a) at eval.c:3240 #6 0x01036c48 in Ffuncall (nargs=0x2, args=0x82ea80) at eval.c:3058 #7 0x010ddcbc in exec_byte_code (bytestr=0x13ecb51, vector=0x13ecbc5, maxdepth=0x24, args_template=0x341c81a, nargs=0x0, args=0x0) at bytecode.c:785 #8 0x0103779c in funcall_lambda (fun=0x13ecb15, nargs=0x5, arg_vector=0x341c81a) at eval.c:3240 #9 0x01036c48 in Ffuncall (nargs=0x6, args=0x82eda0) at eval.c:3058 #10 0x010357e3 in Fapply (nargs=0x2, args=0x82eed4) at eval.c:2514 #11 0x010365d5 in Ffuncall (nargs=0x3, args=0x82eed0) at eval.c:2991 #12 0x010ddcbc in exec_byte_code (bytestr=0x13cc269, vector=0x13cc29d, maxdepth=0x10, args_template=0x341c81a, nargs=0x0, args=0x0) at bytecode.c:785 #13 0x010dd278 in Fbyte_code (bytestr=0x13cc269, vector=0x13cc29d, maxdepth=0x10) at bytecode.c:423 #14 0x01034a82 in eval_sub (form=0x13cc25e) at eval.c:2363 #15 0x010327c0 in internal_lisp_condition_case (var=0x341c81a, bodyform=0x13cc25e, handlers=0x1311746) at eval.c:1440 #16 0x010de6dc in exec_byte_code (bytestr=0x13cc169, vector=0x13cc1ed, maxdepth=0x14, args_template=0x341c81a, nargs=0x0, args=0x0) at bytecode.c:981 #17 0x0103779c in funcall_lambda (fun=0x13cc14d, nargs=0x1, arg_vector=0x341c81a) at eval.c:3240 #18 0x01036c48 in Ffuncall (nargs=0x2, args=0x82f5a8) at eval.c:3058 #19 0x01035d89 in call1 (fn=0x342790a, arg1=0x362be85) at eval.c:2778 #20 0x0100e1f8 in timer_check_2 () at keyboard.c:4428 #21 0x0100e272 in timer_check () at keyboard.c:4474 #22 0x0104a966 in wait_reading_process_output (time_limit=0x43, microsecs=0x0, read_kbd=0xffffffff, do_display=0x1, wait_for_cell=0x341c81a, wait_proc=0x0, just_wait_proc=0x0) at process.c:4308 #23 0x010f75da in sit_for (timeout=0x10c, reading=0x1, do_display=0x1) at dispnew.c:5958 #24 0x010091bf in read_char (commandflag=0x1, nmaps=0x2, maps=0x82f9a0, prev_event=0x341c81a, used_mouse_menu=0x82fa68, end_time=0x0) at keyboard.c:2688 #25 0x0101bf4d in read_key_sequence (keybuf=0x82fbec, bufsize=0x1e, prompt=0x341c81a, dont_downcase_last=0x0, can_return_switch_frame=0x1, fix_current_buffer=0x1) at keyboard.c:9283 #26 0x01005bb1 in command_loop_1 () at keyboard.c:1445 #27 0x010328a2 in internal_condition_case (bfun=0x10055b6 , handlers=0x342a99a, hfun=0x1004dda ) at eval.c:1493 #28 0x01005212 in command_loop_2 (ignore=0x341c81a) at keyboard.c:1156 #29 0x010322c5 in internal_catch (tag=0x342a1e2, func=0x10051ee , arg=0x341c81a) at eval.c:1247 #30 0x010051ce in command_loop () at keyboard.c:1135 #31 0x010047af in recursive_edit_1 () at keyboard.c:756 #32 0x01004aca in Frecursive_edit () at keyboard.c:820 #33 0x010028c5 in main (argc=0x1, argv=0xa44480) at emacs.c:1705 Lisp Backtrace: "image-metadata" (0x82e784) "image-animated-p" (0x82ea84) "image-animate-timeout" (0x82eda4) "apply" (0x82eed4) "byte-code" (0x82f120) "timer-event-handler" (0x82f5ac) (gdb) From unknown Sat Sep 06 00:52:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7799: 24.0.50; Animated images display strangely Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Aug 2011 19:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7799 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Magne Ingebrigtsen Cc: 7799@debbugs.gnu.org Received: via spool by 7799-submit@debbugs.gnu.org id=B7799.13133497831717 (code B ref 7799); Sun, 14 Aug 2011 19:24:01 +0000 Received: (at 7799) by debbugs.gnu.org; 14 Aug 2011 19:23:03 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QsgH0-0000RS-7i for submit@debbugs.gnu.org; Sun, 14 Aug 2011 15:23:02 -0400 Received: from vm-emlprdomr-04.its.yale.edu ([130.132.50.145]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QsgGx-0000RE-Ml for 7799@debbugs.gnu.org; Sun, 14 Aug 2011 15:23:00 -0400 Received: from furball ([64.134.68.235]) (authenticated bits=0) by vm-emlprdomr-04.its.yale.edu (8.14.4/8.14.4) with ESMTP id p7EJLKPi008446 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sun, 14 Aug 2011 15:21:21 -0400 From: Chong Yidong References: <87aabju5g1.fsf@stupidchicken.com> Date: Sun, 14 Aug 2011 15:21:19 -0400 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Tue, 09 Aug 2011 20:17:21 +0200") Message-ID: <87aabbg5ow.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.145 X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Lars Magne Ingebrigtsen writes: > It's much better than it used to be, but I'm still seeing some glitches. > > http://icanhascheezburger.files.wordpress.com/2011/08/0848b876-a808-4614-ac26-9285d46cc5f7.gif > > One single frame in the animation looks broken. That seems to be the > case with all my test cases where the image displays buggily. (But > most animated gifs display properly now.) Could it be a off-by-one > error of some kind? Looks like there is off-spec behavior going on---not that the gif89a is very descriptive in the first place. The "buggy" frame is one which has disposal method 2, defined in the gif89a spec as 2 - Restore to background color. The area used by the graphic must be restored to the background color. And that's exactly what Emacs does, but it looks like web browsers are rendering the background frame instead, under some circumstances. I'll take a look when I have the time. From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 12 05:05:42 2012 Received: (at control) by debbugs.gnu.org; 12 Feb 2012 10:05:43 +0000 Received: from localhost ([127.0.0.1]:36773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RwWJS-00050u-KQ for submit@debbugs.gnu.org; Sun, 12 Feb 2012 05:05:42 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:33959 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RwWJQ-00050n-GB for control@debbugs.gnu.org; Sun, 12 Feb 2012 05:05:41 -0500 Received: from [155.69.16.175] (port=45009 helo=furball) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1RwWI3-00015e-VO for control@debbugs.gnu.org; Sun, 12 Feb 2012 05:04:16 -0500 From: Chong Yidong To: control@debbugs.gnu.org Subject: close 7799 Date: Sun, 12 Feb 2012 18:04:09 +0800 Message-ID: <87zkcol65i.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) close 7799 thanks