Comments (10)
This was an interesting bug. I think I’ve fixed it in commit 6c1a18c. Please let me know if you observe more issues.
from gifsicle.
Yes, with master branch at commit 6c1a18c the pixel at 1313,892 is still wrong at -O2
or higher. It is marked with a small circle in the overview image above.
from gifsicle.
Are you sure? I'm not actually seeing this.
On Wed, Dec 3, 2014 at 7:56 AM, Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 [email protected]
wrote:
Yes, with master branch at commit 6c1a18c
6c1a18c
the pixel at 1313,892 is still wrong at -O2 or higher. It is marked with
a small circle in the overview image above
https://cloud.githubusercontent.com/assets/104814/5202004/a1a095b2-7579-11e4-94a8-78d6480c561a.png
.—
Reply to this email directly or view it on GitHub
#31 (comment).
from gifsicle.
I am sure.
Steps to reproduce:
-
Check out repo, verify that HEAD is
6c1a18c
:$ git clone [email protected]:kohler/gifsicle.git $ cd gifsicle $ git show --oneline HEAD | head -1 6c1a18c Always optimize as if the background is transparent.
-
Compile and install:
$ sh bootstrap.sh $ ./configure --enable-all --prefix=/tmp/gifsicle168 $ make install
-
Get test case input image:
$ git clone [email protected]:/4e66de28b447a1ca851f.git $ cd 4e66de28b447a1ca851f
-
Generate output as in the top post of this bug report:
$ /tmp/gifsicle168/bin/gifsicle -O1 haenau.gif > haenau-O1.gif $ /tmp/gifsicle168/bin/gifsicle -O2 haenau.gif > haenau-O2.gif $ /tmp/gifsicle168/bin/gifsicle -O3 haenau.gif > haenau-O3.gif
-
View the
haenau-O2.gif
image in Firefox 33 (libporn GIF decoder) and Gwenview 4.14 (QImageReader GIF decoder), set image scaling to 1:1 (because both default to rescale-to-window) and observe the pixel at coordinates 1313,892 relative to the top-left corner of the image.
Expected:
Pixel has the colour #0411b8, a deep blue.
Actual:
Pixel has the colour #ffffff, bright white.
from gifsicle.
OK. I can confirm that I see the bad pixel on Firefox.
However, I do not see the bad pixel in Gifview (bundled with Gifsicle), in Safari, or in Chrome.
Gifdiff believes the files are equivalent except for background color.
And when I give the --careful
option to gifsicle -O2
, no bad pixel.
I'm not sure whether this is an encoding bug in Gifsicle or a bug in other gif libraries.
from gifsicle.
The following command:
gifsicle -O2 haenau.gif
produces a GIF that Firefox displays with a bad pixel. But this:
gifsicle -O2 --delay=1 haenau.gif
produces a GIF with no bad pixel. This is strong evidence that the bug is in Firefox since the encoded image data is the same in both cases.
from gifsicle.
That's compelling. I'll file further bugs with the aforementioned software projects.
I'd like you to:
- mark this bug as stalled
- cut a release with the fixes so far so that I can tell people to get v1.87 to reproduce the problem.
from gifsicle.
OK, I released 1.87.
from gifsicle.
Hey, I'd like to close this issue unless it's still active.
from gifsicle.
Closing. The bugs I filed on Firefox and Gwenview last year have not progressed, unfortunately.
from gifsicle.
Related Issues (20)
- Segmentation fault (core dumped) when i resize gif HOT 1
- --crop-transparency only seems to trim the bottom and right transparency HOT 5
- Large GIF being resized changing color palette - what am I doing wrong?
- Missing index.html if running gifsicle-wasm? HOT 2
- Mismatching output GIF created
- name with negative number
- License HOT 1
- Script issue: `autoreconf: command not found` HOT 2
- Can i use gifsicle in wasm? HOT 1
- Crash during parsing of malformed GIF HOT 4
- Don't optimize file if result is bigger than input HOT 1
- Pink artifacts after resizing HOT 1
- Could not change --background after --crop
- After Fresh Installation fail: Must use import to load ES Module
- very import function HOT 2
- fatal error: frame selection and frame changes don’t mix
- [Help document bug] For gifsicle, the help document misses some options
- Can you set a wallpaper centered? HOT 1
- Add precise colormapping option
- Artifacts / trails when trimming HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gifsicle.