I have to admit I don't know what CR2 image are actually. How Imagick is configured on the particular server used can differ. Not all file formats it supports are supported by default. Some need to be added as plugin to Imagick.
ImageMagick should be able to handle CR2 files. As far as I can tell, ImageMagick should interpret it as TIFF if it's supported, or unless explicitly told otherwise.
You might also be able to use a decode delegate (see `ufraw-batch`). If you set that up through ImageMagick and recompile Imagick, it might work.
But as said before, it's probably not a good idea to be uploading raw images directly and processing them on the fly. Even with caching, it's a heavy load for the server. The better solution would be to convert them first.
I agree with the others on not uploading CR2 files. The whole purpose of shooting in RAW is for post-processing flexibility, so why would you want to upload an unprocessed RAW file to begin with? If you're not going to post-process the images, you'd be better off shooting in JPEG because it makes for much smaller file sizes. Another disadvantage to uploading RAW files would be the filling up of your server storage space. I shoot with a Canon 5D, which my CR2 files average about 14MB each, and it wouldn't take long after a few hundred pictures to consume the server storage space. There'd be no advantage in doing this.
I tried Imagick but all I get is a broken image icon.
We run our own server so storage is not an issue. We had gallery2 set up and it worked great but with our new server things aren't working correctly. I'm alright with the beta plug-in that lets you upload any kind of file, but it would be nice to get a preview for those users that might not like seeing a CR2 icon.
I never understood why some people are so against CR2 files. If you don't need them that's fine, it doesn't mean some of us don't need the functionality.
I never understood why some people are so against CR2 files. If you don't need them that's fine, it doesn't mean some of us don't need the functionality.
Who tell that here ? I always shoot in RAW file but you must understand that CR2 files must be develop by a "human" in order to have the best picture. At this time they are no automatic process that are able to develp the picture like your eyes as see the landscape for example. In this case, why don't you shoot in JPEG with your Canon. The internal conversion utily of the camera do it very quickly. You say that you have enought place to store your file ... it's fine. But what about the server load ? How many times the conversion will take ? You must consider that ... it's just my opinion.
I always shooot Raw as well, but have no use for CR3--I shoot Nef:)
But more seriously, ne of the downside of shooting RAW is that the camera manufacturer is in control of the format and can (and does) change it. Third party software does not always keep up with these changes.
The answer is once. You upload the CR2, then Zenphoto could create the thumbnail (jpg) and intermediate photo (jpg). Then of course you will be able to download the CR2 as the original. Same process as with any other image file.
Like I said before, I used Gallery2 with CR2 files and it didn't take that long to complete the process.
Comments
But the CR2 are very too big for uploading (about 25~30 Mo per files !). You will overload your server.
I don't think Zenphoto as this conversion process.
The best thing is to convert your images firt on your computeur then upload it ;-)
Laurent
Laurent
You might also be able to use a decode delegate (see `ufraw-batch`). If you set that up through ImageMagick and recompile Imagick, it might work.
But as said before, it's probably not a good idea to be uploading raw images directly and processing them on the fly. Even with caching, it's a heavy load for the server. The better solution would be to convert them first.
If you're not going to post-process the images, you'd be better off shooting in JPEG because it makes for much smaller file sizes.
Another disadvantage to uploading RAW files would be the filling up of your server storage space. I shoot with a Canon 5D, which my CR2 files average about 14MB each, and it wouldn't take long after a few hundred pictures to consume the server storage space. There'd be no advantage in doing this.
We run our own server so storage is not an issue. We had gallery2 set up and it worked great but with our new server things aren't working correctly. I'm alright with the beta plug-in that lets you upload any kind of file, but it would be nice to get a preview for those users that might not like seeing a CR2 icon.
I never understood why some people are so against CR2 files. If you don't need them that's fine, it doesn't mean some of us don't need the functionality.
I always shoot in RAW file but you must understand that CR2 files must be develop by a "human" in order to have the best picture.
At this time they are no automatic process that are able to develp the picture like your eyes as see the landscape for example.
In this case, why don't you shoot in JPEG with your Canon. The internal conversion utily of the camera do it very quickly.
You say that you have enought place to store your file ... it's fine. But what about the server load ? How many times the conversion will take ? You must consider that ... it's just my opinion.
Laurent
But more seriously, ne of the downside of shooting RAW is that the camera manufacturer is in control of the format and can (and does) change it. Third party software does not always keep up with these changes.
The answer is once. You upload the CR2, then Zenphoto could create the thumbnail (jpg) and intermediate photo (jpg). Then of course you will be able to download the CR2 as the original. Same process as with any other image file.
Like I said before, I used Gallery2 with CR2 files and it didn't take that long to complete the process.