![]() |
|
Imagick convert color profiles from AdobeRGB to sRGB - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Imagick convert color profiles from AdobeRGB to sRGB (/thread-8814.html) |
Imagick convert color profiles from AdobeRGB to sRGB - tunafish - 2011-07-04 I did a search but didn't find something useful as it is advised to upload images in sRGB profile (obviously) I would like to do this:
I would like some advise on which files I should look at and maybe any suggestions on how to do it. Cheers Imagick convert color profiles from AdobeRGB to sRGB - acrylian - 2011-07-04 Hopefully kagutsuchi who did Imagick for us will see this post. I would test if your server can really handle these large images and several of them (see the troubleshooting). If you really need fine data (or even more hires) it might be better to store such outside the albums itself (some work I admit) Imagick convert color profiles from AdobeRGB to sRGB - sbillard - 2011-07-04 Certainly without Imagick the color profiles will be a problem. Even with them there might be issues. Imagick will preserve profiles, but that will be no help if your audience is viewing the images in a browser that does not support color profiles. (That is pretty much the norm right now.) I do not know if Imagick can convert the profiles. Currently there is no Zenphoto option to cause that to happen. Imagick is supposed to be better at memory management than the standard GD library. But even then resizing those images might not work. But of course, the first step is to see if you even have Imagick capability with your hosting service. Imagick convert color profiles from AdobeRGB to sRGB - tunafish - 2011-07-04 Thanks for the replies guys! I had some experience with image processing before and ran into GD memory problems. So I learned about Imagick,. and got myself I server who supported it. I had a rough time compiling the imagick module on my Mac though but in the end I won My ZP installation infos: The trouble shooting page mentioned by acrylian guidlines: (in my 3000 x 2000 px case) [b]6 MP Image, 2816 x 2112 pixels => needs ~22.6 MB Memory[/b] I had a look in my servers php.ini: ; Resource Limits ; ;;;;;;;;;;;;;;;;;;; max_execution_time = 60 ; Maximum execution time of each script, in seconds max_input_time = 60 ; Maximum amount of time each script may spend parsing request data memory_limit = 140M ; Maximum amount of memory a script may consume (8MB) Just tested it and no problems processing at all! Now if could find out where the imagick functions are writing in ZP... Imagick convert color profiles from AdobeRGB to sRGB - tunafish - 2011-07-04 OK I just found how to NOT retain the imagick color profile: zp-core.php Now I need to research the conversion (reliability, performance) Starting to fall in love ZP ) Imagick convert color profiles from AdobeRGB to sRGB - kagutsuchi - 2011-07-06 I don't have experience with manually adding profiles, but what you would need is not built into The better alternative, I think, is to upload the sRGB images to Zenphoto and use those as normal. The images will be cached with the sRGB profile as such. Then, I would link to the AdobeRGB images within the theme but outside of Zenphoto. Since you're not displaying the AdobeRGB images, there's really no point to having Zenphoto in the middle, but that's completely my opinion. If you do decide to add in the functionality, here's a short overview of how The rest of what you need to add the profile to the image manually should be in the link at the top of my post. Just remember that if you modify core files, you will have to add your modifications again every time you update Zenphoto. Imagick convert color profiles from AdobeRGB to sRGB - tunafish - 2011-07-07 Thank you kagutsuchi for the reply! I found an article on how to do the conversion but it does not really work for me, I think due to the older version of imagick on my host. Actually I can do the conversion but with a filesize way to big (can't delete the ARGB profile before assigning sRGB) Thanks again, great ZP community :-) Imagick convert color profiles from AdobeRGB to sRGB - acrylian - 2011-07-07 Btw, for the possible download of the separately stored files I would suggest to use the downloadlist plugin and its function for direct file downloads. |