forum.coppermine-gallery.net

No Support => Feature requests => Topic started by: wuguang on November 10, 2003, 01:08:48 pm

Title: .gif does't create thumb _images
Post by: wuguang on November 10, 2003, 01:08:48 pm
I only have GD,but I want to use .gif.Maybe CPG does't create small images,only display.Thank you.
Title: .gif does't create thumb _images
Post by: Joachim Müller on November 10, 2003, 02:00:56 pm
GIF isn't supported by GD2 for legal reasons. Use Image Magick or gd1 (not recommended) if you must have gif support.
Better still: convert your GIFs to PNG (all modern browsers should have PNG-support, more or less).

GauGau
Title: .gif does't create thumb _images
Post by: hyperion on November 10, 2003, 07:57:39 pm
I would just add that GIF support will return to GD2 (and there will be real GIF support in IM) in late 2004.
Title: .gif does't create thumb _images
Post by: Joachim Müller on November 10, 2003, 09:04:58 pm
...provided the unisys patent really runs out: I've already heard rumors that there are other parties who claim to have rights - as long as the issue isn't settled for good no freeware dev will take the risk to support gif if it's likely he's going to be sued.
Hopefully the number of installs of browsers without png support will have been reduced to nearly zero...

GauGau
Title: I mean CPG does't create small images,and only display for .
Post by: wuguang on November 11, 2003, 09:03:15 am
I mean CPG does't create small images,and only display for .gif.
Title: .gif does't create thumb _images
Post by: moorey on November 11, 2003, 09:13:30 am
Yes, another point is that GD does read GIF files.. it just doesn't support creation/editing of GIF files.
Title: .gif does't create thumb _images
Post by: gtroll on November 11, 2003, 09:23:01 am
GIF images are not supported in coppermine at this time because the thumbnails can't be made using php.

Imagecreatefromgif is the stickler we could create jpgs or png from gif for the thumbs if we could just use that function.... is it in php5-dev? does anybody know? I didn't see it in their changlog.....
Title: only display the bigger GIF images
Post by: wuguang on November 11, 2003, 11:36:11 am
I mean,CPG doesn't creat thumbnails for GIF images,and only display the bigger GIF images. I think You can do that.
Title: .gif does't create thumb _images
Post by: hyperion on November 11, 2003, 07:31:51 pm
@wuguang: No, we could only convert the GIF to PNG and then create a thumbnail. You might as well do that with local computing resources.

@GauGau: The LZW patent is already dead here in the US; David Boutell and Image Magick claim they are waiting for it to expire in Europe. I haven't heard of anyone elese making claims, but it would not surprise me given the number of zombie companies in Silicon Valley. In the long run though, 17 years is 17 years, and you can't sue Father Time.
Title: .gif does't create thumb _images
Post by: DJMaze on November 11, 2003, 08:24:05 pm
I don't see the point of claiming the compression rights on 7th July 2004 cos others has some benefits.

The size of a gif is not smaller then that from a png.
PNG also has transparency and other features (blending).
A jpg is smaller on large images then gif.

GIF is only usefull for animated pictures :roll: and GD doesn't support that, in my knowledge, so you will get a static thumbnail or even a half thumbnail depending on what the content of the first frame is.
Title: .gif does't create thumb _images
Post by: hyperion on November 12, 2003, 03:10:56 am
Yes, DJMaze, we could have done away with GIFs ages ago if a particular company in Redmond would put proper support for PNGs in its browser.  :D
Title: Re: .gif does't create thumb _images
Post by: bloodynipples on September 10, 2004, 11:55:03 pm
So what is the decision?

Should we write a function that converts gif to png for processing with GD2?

Should we do nothing & force our users to convert gif to png files?

>>my users are idiots, I it's all I can do to get them to upload images the right size.

What about anamated gif files?

>> There aren't any mainstreem browsers that support MNG files.





Title: Re: .gif does't create thumb _images
Post by: kegobeer on September 11, 2004, 01:38:12 am
If you want GIF support, search the boards.  I already posted a mod.