coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: elifafd on August 10, 2009, 02:53:20 PM

Title: CMYK PSD files in CPG 1.4.25 with ImageMagick
Post by: elifafd on August 10, 2009, 02:53:20 PM
Hello I have uploaded a lot of PSD CMYK images into the gallery (with the ftp function)
On my Apple Mac with Safari 4.02 all images and thumbnails work fine, but in Firefox on Mac and on PC's running Explorer 7 and FireFox 3.5 all images are shown as ?.
Is there a solution for this problem?
I am running ImageMagick 6.2.8
Title: Re: CMYK PSD files in CPG 1.4.25 with ImageMagick
Post by: Nibbler on August 10, 2009, 02:57:31 PM
Convert them to something sensible like JPEG or PNG before uploading them.
Title: Re: CMYK PSD files in CPG 1.4.25 with ImageMagick
Post by: elifafd on August 10, 2009, 02:58:50 PM
It is over 30 Gb of files which have been uploaded and added to the albums already
Title: Re: CMYK PSD files in CPG 1.4.25 with ImageMagick
Post by: Nibbler on August 10, 2009, 03:00:55 PM
You'll need to re-upload them then. The good news is that the converted files will be a lot smaller than 30GB.
Title: Re: CMYK PSD files in CPG 1.4.25 with ImageMagick
Post by: elifafd on August 10, 2009, 03:04:25 PM
The size is not the problem, i have these files also available on the network for the users.

Is there a way to generate (convert) all files in all subfolders to rgb (is PSD RGB supported?) with for example a imagemagock command "convert a to b "
It is a linux machine and i have root access.
Title: Re: CMYK PSD files in CPG 1.4.25 with ImageMagick
Post by: Nibbler on August 10, 2009, 03:08:20 PM
Yeah. Refer to the imagemagick documentation (you probably want 'mogrify').
Title: Re: CMYK PSD files in CPG 1.4.25 with ImageMagick
Post by: elifafd on August 10, 2009, 03:25:38 PM
Yes that could be a possibility, .....over 300 folders to do....

But in the future, the users should then first have to convert the file to jpg and than add to Coppermine, not so nice....

Is this a limitation within Coppermine or ImageMagick?
Title: Re: CMYK PSD files in CPG 1.4.25 with ImageMagick
Post by: Nibbler on August 10, 2009, 03:32:22 PM
Neither. PSD is not a suitable format for publishing images to the web. Web browsers usually can't display them plus it's a proprietary format.
Title: Re: CMYK PSD files in CPG 1.4.25 with ImageMagick
Post by: Joachim Müller on August 11, 2009, 07:58:49 AM
...and CMYK is not suitable for use on the web, as the devices used to browse the web (called "monitors") usually can only cope with RGB and not with CMYK. That's why out of the box there's no support for CMYK (at least as far as GD is concerned): it simply doesn't make sense on the web.