coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: tdukart on August 24, 2006, 10:58:19 PM

Title: Convert File Formats
Post by: tdukart on August 24, 2006, 10:58:19 PM
Before I begin: I have searched the board for this. I found the post http://forum.coppermine-gallery.net/index.php?topic=11494.0 (http://forum.coppermine-gallery.net/index.php?topic=11494.0).

Anyway, I would like to figure out how to make Coppermine 1.4.8 convert uploaded pictures to JPEGs. A hack or plugin is fine.

The website I'm starting for the TV station where I work is going to attract a lot of people who aren't too computer-savvy, so I'd rather not have to step them through converting their files first.

It's not a huge problem if it's not possible. I'm using ImageMagick.

Thanks in advance for your help.

-Todd
Title: Re: Convert File Formats
Post by: Joachim Müller on August 24, 2006, 11:05:46 PM
From the thread you refered to:
Quote from: kegobeer on November 06, 2004, 03:47:30 AM
Coppermine does no image type conversion during the upload process.  If you want your images as jpg, you'll have to convert them prior to uploading.

As a dev, this isn't something I consider necessary by the majority of Coppermine users, so I don't think you'll ever see this in the main code.  However, you may find someone to assist you with the code required.
No hack available. Not being considered. 99% of all pics exist as JPEGs anyway, as all digital cameras store pics that way.
Title: Re: Convert File Formats
Post by: tdukart on August 24, 2006, 11:29:38 PM
I understand that. However, when we receive photos from users now (via e-mail), we get them in all sorts of odd formats: JPEG, BMP, sometimes TIFF and GIF. I would imagine they're using some sort of photo software that came with their digital camera to convert from JPEG to another format, sometimes to put cutesy little frames and things on it.

It doesn't need to be an official hack or anything: even an unofficial one would work. That's the main feature I liked about Gallery2: it would convert the files.