Confused about implementation for GIF Dispose Method
莫红波 <[email protected]> Thu, 24 Nov 2016 05:44:57 +0000
| Newsgroups | gmane.comp.video.graphicsmagick.bugs |
|---|---|
| Message-ID | <CACghtk15o_P9=f1gY0CXcbUxepb0kfeoyBKOBmq0APnF7=j6sA@mail.gmail.com> |
--===============0340593814236925833==
Content-Type: multipart/alternative; boundary=94eb2c095b8013cf7f05420582a3
--94eb2c095b8013cf7f05420582a3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Hi, All:
I find that the implementation for GIF dispose method in CoalesceImages
isn't based on Graphics Interchange Format, Version 89a
<http://www.w3.org/Graphics/GIF/spec-gif89a.txt>.
iv) Disposal Method - Indicates the way in which the graphic is to
be treated after being displayed.
Values : 0 - No disposal specified. The decoder is
not required to take any action.
1 - Do not dispose. The graphic is to be left
in place.
2 - Restore to background color. The area used by the
graphic must be restored to the background color.
3 - Restore to previous. The decoder is required to
restore the area overwritten by the graphic with
what was there prior to rendering the graphic.
4-7 - To be defined.
However in magick/transform.c:CoalesceImages, the dispose method
affects the current frame not the next.
Did I understand it wrong? Any help would be appreciated.
--=20
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=
=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=
=94
=E8=8E=AB=E7=BA=A2=E6=B3=A2 =E7=B3=BB=E7=BB=9F=E5=BC=80=E5=8F=91=E5=B7=A5=
=E7=A8=8B=E5=B8=88
UPYUN =E9=87=8D=E6=96=B0=E5=AE=9A=E4=B9=89=E4=BA=91=E5=8A=A0=E9=80=9F
https://www.upyun.com
=E6=9D=AD=E5=B7=9E=E5=8F=88=E6=8B=8D=E4=BA=91=E7=A7=91=E6=8A=80=E6=9C=89=E9=
=99=90=E5=85=AC=E5=8F=B8
=E7=94=B5=E8=AF=9D: 0571-89966786
[email protected]
=E5=9C=B0=E5=9D=80=EF=BC=9A=E6=9D=AD=E5=B7=9E=E5=B8=82=E8=A5=BF=E6=B9=96=E5=
=8C=BA=E6=96=87=E4=B8=80=E8=A5=BF=E8=B7=AF 522 =E5=8F=B7=E8=A5=BF=E6=BA=AA=
=E7=A7=91=E5=88=9B=E5=9B=AD 9 =E5=8F=B7=E6=A5=BC 6F
--94eb2c095b8013cf7f05420582a3
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Hi, All:<div>=C2=A0 =C2=A0I find that the implementation f=
or GIF dispose method in CoalesceImages isn't based on=C2=A0<a rel=3D"n=
ofollow" class=3D"inbox-inbox-external inbox-inbox-text" href=3D"http://www=
.w3.org/Graphics/GIF/spec-gif89a.txt" style=3D"color:rgb(102,51,102);paddin=
g-right:13px;font-size:13.5072px">Graphics Interchange Format, Version 89a<=
/a>.=C2=A0<pre style=3D"word-wrap:break-word;white-space:pre-wrap"> iv)=
Disposal Method - Indicates the way in which the graphic is to
be treated <font color=3D"#ff0000">after being displayed</font>.</pre>=
<pre style=3D"word-wrap:break-word;white-space:pre-wrap"> Values : 0=
- No disposal specified. The decoder is
not required to take any action.
1 - Do not dispose. The graphic is to be left
in place.
2 - Restore to background color. The area used by the
graphic must be restored to the background color.
3 - Restore to previous. The decoder is required to
restore the area overwritten by the graphic with
what was there prior to rendering the graphic.
4-7 - To be defined.</pre><pre style=3D"word-wrap:break-wo=
rd"><font face=3D"sans-serif" style=3D"white-space:pre-wrap"> However in =
magick/transform.c:CoalesceImages, the dispose method affects the current f=
rame not the next.=20
Did I understand it wrong? </font><font face=3D"sans-serif"><span style=
=3D"white-space:pre-wrap">Any help would be appreciated.</span></font></pre=
><pre style=3D"word-wrap:break-word;white-space:pre-wrap"><br></pre></div><=
/div><div dir=3D"ltr">-- <br></div><div data-smartmail=3D"gmail_signature">=
<div dir=3D"ltr"><div style=3D"color:rgb(0,0,0);font-size:12px;margin:0px;t=
ext-align:justify;font-family:"stheiti light"">=E2=80=94=E2=80=94=
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=
=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94</div><div styl=
e=3D"color:rgb(0,0,0);font-size:12px;margin:0px;text-align:justify;font-fam=
ily:"stheiti light""><br></div><div style=3D"color:rgb(0,0,0);fon=
t-size:12px;margin:0px;text-align:justify;font-family:"stheiti light&q=
uot;">=E8=8E=AB=E7=BA=A2=E6=B3=A2 =E7=B3=BB=E7=BB=9F=E5=BC=80=E5=8F=91=E5=
=B7=A5=E7=A8=8B=E5=B8=88</div><div style=3D"font-size:12px;margin:0px;text-=
align:justify;font-family:"stheiti light";color:rgb(80,13,80);min=
-height:12px"><br></div><div style=3D"font-size:12px;margin:0px;text-align:=
justify;font-family:stheiti;color:rgb(54,95,144)">UPYUN=C2=A0=E9=87=8D=E6=
=96=B0=E5=AE=9A=E4=B9=89=E4=BA=91=E5=8A=A0=E9=80=9F</div><div style=3D"font=
-size:12px;margin:0px;text-align:justify;font-family:"stheiti light&qu=
ot;;color:rgb(18,85,204)"><span style=3D"text-decoration:underline"><a href=
=3D"https://www.upyun.com/" target=3D"_blank" style=3D"color:rgb(17,85,204)=
">https://www.upyun.com</a></span></div><div style=3D"font-size:12px;margin=
:0px;text-align:justify;font-family:"stheiti light";color:rgb(80,=
13,80);min-height:12px"><br></div><div style=3D"font-size:12px;margin:0px;t=
ext-align:justify;font-family:stheiti;color:rgb(54,95,144)">=E6=9D=AD=E5=B7=
=9E=E5=8F=88=E6=8B=8D=E4=BA=91=E7=A7=91=E6=8A=80=E6=9C=89=E9=99=90=E5=85=AC=
=E5=8F=B8</div><div style=3D"font-size:12px;margin:0px;text-align:justify;f=
ont-family:"stheiti light";color:rgb(68,68,68)">=E7=94=B5=E8=AF=
=9D: =C2=A0 0571-89966786=C2=A0</div><div style=3D"font-size:12px;margin:0p=
x;text-align:justify;font-family:"stheiti light";color:rgb(4,51,2=
55)"><span style=3D"color:rgb(68,68,68)">=E9=82=AE=E7=AE=B1=EF=BC=9A<a href=
=3D"mailto:[email protected]" target=3D"_blank" style=3D"color:rgb(17,85,2=
04)"><span style=3D"color:rgb(4,51,255)">[email protected]</span></a></spa=
n></div><div style=3D"font-size:12px;margin:0px;text-align:justify;font-fam=
ily:"stheiti light";color:rgb(68,68,68)">=E5=9C=B0=E5=9D=80=EF=BC=
=9A=E6=9D=AD=E5=B7=9E=E5=B8=82=E8=A5=BF=E6=B9=96=E5=8C=BA=E6=96=87=E4=B8=80=
=E8=A5=BF=E8=B7=AF 522 =E5=8F=B7=E8=A5=BF=E6=BA=AA=E7=A7=91=E5=88=9B=E5=9B=
=AD 9 =E5=8F=B7=E6=A5=BC 6F</div></div></div>
--94eb2c095b8013cf7f05420582a3--
--===============0340593814236925833==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
--===============0340593814236925833==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Graphicsmagick-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/graphicsmagick-bugs
--===============0340593814236925833==--