GIF thumbnail has a miscellaneous point, how to solve, I use the thinkphp3.1, the principle should be the same, say the general method on the line, there is a better TP

Source: Internet
Author: User
Tags image processing library imagemagick vc9
After the abbreviation,
What is the parameter set wrong?
Using the PHP GD library function


Reply to discussion (solution)

GD does not support multi-frame gif,thinkphp3.1 and does not provide a multi-frame gif thumbnail function, right?
From the picture, it is clear that you are assembling a multi-frame gif is that there are several frames of data misplaced
This is going to look for the reason in your GIF code.

GD does not support multi-frame gif,thinkphp3.1 and does not provide a multi-frame gif thumbnail function, right?
From the picture, it is clear that you are assembling a multi-frame gif is that there are several frames of data misplaced
This is going to look for the reason in your GIF code.



https://github.com/liu21st/thinkphp/tree/3.1/ThinkPHP/Extend/Library/ORG/Util/Image//I use this, you look at//  thinkimage.class.php//introduced the Image Processing library import (' ORG. Util.Image.ThinkImage '); Use the GD library to process 1.gif images $img = new Thinkimage (THINKIMAGE_GD, './1.gif '); Thumbnail function omitted

There's a
Https://github.com/liu21st/thinkphp/tree/3.1/ThinkPHP/Extend/Library/ORG/Util/Image/Driver
GIF.class.php, this is what I'm using.

GIF is the more troublesome format ...
Actually, it could be a problem with the original.
No, just a library of GIF thumbnails.


In your 35-frame Picture:
Frame 1th is absolutely bad.
2nd, 15, 16, 17, 18, 25 frames are virtual, may be the original image using the incremental mode, and the program is not processed accordingly
There is no original picture, it is not good to say anything



In your 35-frame Picture:
Frame 1th is absolutely bad.
2nd, 15, 16, 17, 18, 25 frames are virtual, may be the original image using the incremental mode, and the program is not processed accordingly
There is no original picture, it is not good to say anything


Http://pan.baidu.com/s/1hqCjyRU This is a picture, can download, csdn can not upload more than 2M pictures, so no,
I used Imagick IIS can thumbnail gif, but Apache problem, can't use,
Imagemagick-6.8.9-q16
Php_imagick-3.2.0b2-5.4-nts-vc9-x86
PHP 5.4+apache (phpstudy components)

GIF is the more troublesome format ...
Actually, it could be a problem with the original.
No, just a library of GIF thumbnails.



I changed Imagick, IIS can thumbnail gif, but Apache problem, error, no use,
Imagemagick-6.8.9-q16
Php_imagick-3.2.0b2-5.4-nts-vc9-x86
PHP 5.4+apache (phpstudy components)
Error code
Nodecodedelegateforthisimageformat ' GIF ' @ error/constitute.c/readimage/501
Looking for a long day, also did not find the solution of Apache
  • Related Article

    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.