GIF animated image generation and compression

Source: Internet
Author: User
The current project has one such requirement: the successive JPG format images are stitched together into a GIF animation. The simplicity of this requirement is simple, Java/php/python (PIL) and so on are very good to achieve this function, but the problem comes:
1, the resulting GIF picture pixel quality is very poor
2, the generated GIF picture file size is very large (3 70K pictures, the synthetic GIF file size is 600k~)
Please ask the image processing friend, what plan can make the picture is both clear and small?

Reply content:

The current project has one such requirement: the successive JPG format images are stitched together into a GIF animation. The simplicity of this requirement is simple, Java/php/python (PIL) and so on are very good to achieve this function, but the problem comes:
1, the resulting GIF picture pixel quality is very poor
2, the generated GIF picture file size is very large (3 70K pictures, the synthetic GIF file size is 600k~)
Please ask the image processing friend, what plan can make the picture is both clear and small?

Making a better GIF: Another Better way | Phoenix ' s Island

There is no experience in this area, a thought, whether you can consider the JPG file through the Imagick/pil, and so on first compressed? 70K is not too small for JPG.

Did you solve the problem? I'll look for an algorithm that optimizes the sampling of the GIF palette.

Can take a look at this article: https://segmentfault.com/a/1190000004689570

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.