Jump to content

Recommended Posts

Posted
Подскажите кто знает, через что можно корректно перегнать 204 .jpg файла с цветовым пространством Abode RGB 1998 в .jpg но с цветовым пространством SRGB если средствами фотошопа, можно ли как то автоматизировать процесс? что бы не приходилось каждый перегонять в ручную, или путём акшена ? или же есть сторонние программы для этого?
Posted

Вопрос закрыт, возможно кому то пригодиться:

Файл-Сценарии-Обработчик изображений

http://upic.pro/u/150106/10.jpg

Posted

Хоть версию фотошопа уточняйте ;)

 

Хотел предложить экшен запилить или даже дроплет - на будущее =)

Версия СС

Posted

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

 

  • 2 weeks later...
Posted

слишком сложно для просто фотографа а не php программиста, выше написал способ в разы легче чем ваш

 

кому-то удобно, а кому-то - нет.

 

я отвечал не конкретно вам, а вообще.

 

и о php программистах я ничего не говорил.

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...