I've an entire tree with PNG images
I need to - open - assign sRGB profile - close
to every of them
(about 2000 images)
Is there a way to do this via gimp 2?
I've an entire tree with PNG images
I need to - open - assign sRGB profile - close
to every of them
(about 2000 images)
Is there a way to do this via gimp 2?
你可以imagemagick
用来做这个。示例:
convert rgb_image.jpg +profile icm \
-profile sRGB.icc -profile USCoat.icm cmyk_image.jpg
mogrify
是标准命令iirc。这是一个做类似事情的例子:
FOR /R %%a IN (*.jpg) DO mogrify -profile sRGB.icc "%%a"
Linux/ bash 递归目录循环示例:
for f in $(find /tmp -name '*.png'); do mogrify $f ... ; done
(...
用你的 mogrify 命令替换,$f
是文件)