.gif does't create thumb _images .gif does't create thumb _images
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

.gif does't create thumb _images

Started by wuguang, November 10, 2003, 01:08:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wuguang

I only have GD,but I want to use .gif.Maybe CPG does't create small images,only display.Thank you.

Joachim Müller

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

hyperion

I would just add that GIF support will return to GD2 (and there will be real GIF support in IM) in late 2004.
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

Joachim Müller

...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

wuguang

I mean CPG does't create small images,and only display for .gif.

moorey

Yes, another point is that GD does read GIF files.. it just doesn't support creation/editing of GIF files.

gtroll

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.....

wuguang

I mean,CPG doesn't creat thumbnails for GIF images,and only display the bigger GIF images. I think You can do that.

hyperion

@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.
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

DJMaze

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.
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

hyperion

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
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

bloodynipples

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.






kegobeer

If you want GIF support, search the boards.  I already posted a mod.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots