Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Canon CR2 format support
federico
#1 Posted : Monday, 15 November 2010 10:49:25 AM(UTC)
Rank: Newbie

Joined: 15/11/2010(UTC)
Posts: 1
Location: Milano, Italy

does GSP support the CR2 image format? (the CANON camera RAW format)
Roger Martin
#2 Posted : Monday, 15 November 2010 10:55:18 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

GSP supports any file type as a media object, but for some types, it doesn't know how to process them, so it treats them as a generic file. That would probably be the case with most or all RAW files from cameras.

If you email me a RAW image (or tell me where I can download it), I can do a test to see if I can easily make it readable in GSP. Specifically, I'll see if ImageMagick can recognize it, since there will be support for that utility in the upcoming 2.4 release. My email is roger*at*techinfosystems*dot*com
Roger Martin
Creator and Lead Developer of Gallery Server Pro
rkhoury
#3 Posted : Saturday, 26 November 2011 1:59:00 AM(UTC)
Rank: Newbie

Joined: 25/11/2011(UTC)
Posts: 3
Location: Sydney

Hi,

Just wondering if you had made the cr2 files compatible?

Cheers
Rudi
Roger Martin
#4 Posted : Saturday, 26 November 2011 10:42:27 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

Nothing has changed since my last post, as I never received a CR2 image for testing. If you have one, send it to roger*at*techinfosystems*dot*com.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
rkhoury
#5 Posted : Saturday, 26 November 2011 2:48:12 PM(UTC)
Rank: Newbie

Joined: 25/11/2011(UTC)
Posts: 3
Location: Sydney

Hi Roger,

Example has been sent via email now.

Thanks again

Rudi
Roger Martin
#6 Posted : Saturday, 26 November 2011 3:19:13 PM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

I gave the image to ImageMagick with the simple command line "convert lushphotos031.cr2 lush.jpg", but it threw the following error:

Code:
convert.exe: `%s' (%d) dcraw.exe -4 -w -O "C:/Windows/TEMP/magick-l2_XI4ff.ppm" "C:/Windows/TEMP/magick-D3bzjT0s" @ error/utility.c/SystemCommand/2094.
convert.exe: Delegate failed `dcraw.exe -4 -w -O "%u.ppm" "%i"' @ error/delegate.c/InvokeDelegate/1058.
convert.exe: unable to open image `C:/Windows/TEMP/magick-l2_XI4ff.ppm': No such file or directory @ error/blob.c/OpenBlob/2588.
convert.exe: missing an image filename `C:\Dev\GSP\Dev-Main-2.5\Src\Website\App_Data\_Temp\2fd399d6-eb19-4434-bca9-f426d9207c7c.jpg' @ error/convert.c/ConvertImageCommand/3015.


I am not sure how to interpret the results. Either ImageMagick cannot handle CR2 or it requires a component I don't have installed on my PC. The second is possible because the full ImageMagick app includes many components I don't have - GSP only uses convert.exe and that is all I have.

Unfortunately, I don't have time to dig into this any deeper. If anyone has more insight, I am happy to learn more, especially if you think CR2 support can be added to GSP with minimal work.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
rkhoury
#7 Posted : Sunday, 27 November 2011 3:42:12 AM(UTC)
Rank: Newbie

Joined: 25/11/2011(UTC)
Posts: 3
Location: Sydney

Hi,

The only thing I can think of (after doing some googling) is to use ufraw instead of dcraw.
That is beyond my techincal skills!

Rudi
Rss Feed  Atom Feed
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.