New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Subrectangles" optimization when writing GIFs #74
Comments
Optimization for subrectangles is not implemented in FreeImage. Therefore imageio does the subrectangle processing itself (see plugins/freeimagemulti.py). |
Sure, but my question was about the meaning of these lines. |
Aah. Completely forgot about that. I don't think there is much we can do while FreeImage is broken, unfortunately :( |
For me, it seems to work. At least setting this option to true results in significantly smaller files... |
@darkdragon-001, IIRC that is expected, but the visual result can be wrong due to FreeImage not writing the disposal method correctly, i.e. the frames are composed in the wrong way. Could be that its fixed by now though. All this said, we're about to have a gif writer based on Pillow that supersedes the FreeImage version. |
Closing this, since the gif writer of the Pillow plugin supersedes the one provided by the FreeImage plugin, and theres not much that we can do about it anyway. |
Hi there ! So apparently the subrectangles optimization to reduce the size of gifs is broken, but I'm not completely sure what is wrong. Is this something that we must wait for FreeImage to fix, or is there something that could be done at the level of ImageIO ?
Cheers !
The text was updated successfully, but these errors were encountered: