Serega555 Posted January 6, 2015 Report Posted January 6, 2015 Подскажите кто знает, через что можно корректно перегнать 204 .jpg файла с цветовым пространством Abode RGB 1998 в .jpg но с цветовым пространством SRGB если средствами фотошопа, можно ли как то автоматизировать процесс? что бы не приходилось каждый перегонять в ручную, или путём акшена ? или же есть сторонние программы для этого? Quote
Serega555 Posted January 6, 2015 Author Report Posted January 6, 2015 Вопрос закрыт, возможно кому то пригодиться:Файл-Сценарии-Обработчик изображенийhttp://upic.pro/u/150106/10.jpg Quote
Инквизитор Posted January 6, 2015 Report Posted January 6, 2015 Хоть версию фотошопа уточняйте ;) Хотел предложить экшен запилить или даже дроплет - на будущее =) Quote - Что они хотят? - Ку они хотят…
Serega555 Posted January 6, 2015 Author Report Posted January 6, 2015 Хоть версию фотошопа уточняйте ;) Хотел предложить экшен запилить или даже дроплет - на будущее =)Версия СС Quote
borisenko Posted January 6, 2015 Report Posted January 6, 2015 Версия СС На PHP есть написанная утилитка юзающая GL2. Но это не выход. Quote
AnimusPEXUS Posted January 8, 2015 Report Posted January 8, 2015 ImageMagick http://www.imagemagick.org/script/formats.php A majority of the image formats assume an sRGB colorspace (e.g. JPEG, PNG, etc.). A few support only linear RGB (e.g. EXR, DPX, CIN, HDR) or only linear GRAY (e.g. PGM). A few formats support CMYK. Then there is the occasional format that also supports LAB (that is CieLAB) (e.g. TIFF, PSD, JPG, JP2). To determine the colorspace of your image, use this command: identify -verbose image.jpg Image: image.jpg Format: JPEG (Joint Photographic Experts Group JFIF format) ... Colorspace: sRGB OR use the appropriate percent escape convert image.jpg -print "%[colorspace]\n" null: sRGB When processing an image, be aware of the colorspace. Many image processing algorithms assume a linear RGB colorspace. Although you may get satisfactory results processing in the sRGB colorspace, you may get improved results in linear RGB (essentially sRGB with the gamma function removed). For example, convert image.jpg -colorspace RGB -resize 50% -colorspace sRGB resize.jpg As of IM 6.7.8-2 one can properly work in LAB colorspace whether or not Imagemagick is HDRI-enabled. Essentually the A and B channels are stored with a 50% gray bias, to allow it to handle the negatives required by the format. convert lab.tif -resize 50% resize.jpg Again, it may not make sense for some image processing operators to work directly in LAB space, but ImageMagick permits it and generally returns reasonable results. Prior to IM 6.7.8-2, the A and B channels has a discontinuity, making them non-linear. As such to process such images, you needed to first convert the colorspace some other linear colorspace, before apply your processing operator. Afterward you can transform back to the LAB colorspace. For example, convert lab.tif -colorspace RGB -resize 50% -colorspace Lab resize.jpg Quote
Serega555 Posted January 16, 2015 Author Report Posted January 16, 2015 ImageMagick http://www.imagemagick.org/script/formats.phpслишком сложно для просто фотографа а не php программиста, выше написал способ в разы легче чем ваш Quote
AnimusPEXUS Posted January 16, 2015 Report Posted January 16, 2015 слишком сложно для просто фотографа а не php программиста, выше написал способ в разы легче чем ваш кому-то удобно, а кому-то - нет. я отвечал не конкретно вам, а вообще. и о php программистах я ничего не говорил. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.