Search found 11701 matches

by snibgo
2019-06-20T05:17:58-07:00
Forum: Users
Topic: Convert image colorspace to rgb from cmyk without affecting image color contrast or color values
Replies: 12
Views: 366

Re: Convert image colorspace to rgb from cmyk without affecting image color contrast or color values

Please don't multipost. I have removed your other post.

Your question is vague. What version of IM, on what platform?

You have a CMYK image with embedded profile, correct? And "-profile sRGB.icc" converts that correctly to sRGB, correct? What is your final command?
by snibgo
2019-06-20T05:11:44-07:00
Forum: Users
Topic: Odd, thrown error.
Replies: 3
Views: 72

Re: Odd, thrown error.

Removing ${ and } makes it work for me, in Windows 8.1.

The output filename isn't good. A typical value for %a is "D:\Mods\Images\abcd.jpg", so the output filename would be "D:\Mods\Images2\D:\Mods\Images\abcd.jpg".
by snibgo
2019-06-19T06:52:50-07:00
Forum: Users
Topic: Skew Image by only 1 pixel
Replies: 3
Views: 130

Re: Skew Image by only 1 pixel

What version of IM? The documentation http://www.imagemagick.org/script/command-line-options.php#shear seems to be wrong. It says: When Ydegrees is omitted it defaults to 0. ... but experimentation suggests that when Ydegrees is omitted it defaults to Xdegrees. So I suggest you use: magick "In.tiff"...
by snibgo
2019-06-19T04:26:08-07:00
Forum: Users
Topic: Converting to raw MONO: images - wrong bit order within byte
Replies: 5
Views: 193

Re: Converting to raw MONO: images - wrong bit order within byte

... the MONO description should simply be corrected "Bi-level bitmap in least-significant-bit first order". Yes, I agree. Bit, not byte. @Fred: can you change that wording to "Bi-level bitmap in least-significant- bit first order". But the code in mono.c has me scratching my head. It reads pixels i...
by snibgo
2019-06-18T14:38:13-07:00
Forum: Users
Topic: Converting to raw MONO: images - wrong bit order within byte
Replies: 5
Views: 193

Re: Converting to raw MONO: images - wrong bit order within byte

The documentation http://www.imagemagick.org/script/formats.php says about MONO:
Bi-level bitmap in least-significant-byte first order
On GRAY, It says nothing about the order, I think because it is as expected: the left-most pixels are represented by the most significant bits.
by snibgo
2019-06-18T08:12:53-07:00
Forum: Users
Topic: Change background color
Replies: 2
Views: 70

Re: Change background color

See the "+level" documentation at http://www.imagemagick.org/script/command-line-options.php#level It takes two colours, for the black point and white point. Your command changes black to blue. But I think you want black to stay black, and change white to light blue, eg #ddf: magick bard-1.png +leve...
by snibgo
2019-06-18T05:47:55-07:00
Forum: Users
Topic: process all photos in the folder
Replies: 2
Views: 69

Re: process all photos in the folder

What version of IM? What is your script language, eg bash or Windows BAT?
by snibgo
2019-06-18T05:45:45-07:00
Forum: Users
Topic: webp and jpg - parameters for high-quality photos
Replies: 3
Views: 124

Re: webp and jpg - parameters for high-quality photos

caho wrote:I need better quality for the photo
What is wrong with the quality? Why not use "-quality 100"?

JPG is 8 bits/channel/pixel, and is lossy (it changes pixel values). For best quality, don't use JPG.

I don't use WEBP and can't advise on it.
by snibgo
2019-06-18T04:18:04-07:00
Forum: Users
Topic: Converting to raw MONO: images - wrong bit order within byte
Replies: 5
Views: 193

Re: Converting to raw MONO: images - wrong bit order within byte

I think the "GRAY:" format does what you want, eg:

Code: Select all

magick in.png -depth 1 GRAY:out.bin
by snibgo
2019-06-17T08:02:55-07:00
Forum: Users
Topic: Convert image colorspace to rgb from cmyk without affecting image color contrast or color values
Replies: 12
Views: 366

Re: Convert image colorspace to rgb from cmyk without affecting image color contrast or color values

... and output is much more improved and close to input image but just with the little color difference How do you know there is a colour difference? Your input.jpg is CMYK with a profile and your output.jpg is sRGB with a profile. Viewing them both with Windows Photo Viewer on a (roughly) sRGB scr...
by snibgo
2019-06-16T14:18:58-07:00
Forum: Users
Topic: Batch changing picture files
Replies: 10
Views: 231

Re: Batch changing picture files

ChristinaChristina wrote:Can you suggest a good place to read up on how to use shell loops?
Type "help for" at the command line.
by snibgo
2019-06-16T13:47:23-07:00
Forum: Users
Topic: Batch changing picture files
Replies: 10
Views: 231

Re: Batch changing picture files

Yes.
by snibgo
2019-06-16T13:45:52-07:00
Forum: Users
Topic: how to deal with space in folder name?
Replies: 2
Views: 95

Re: how to deal with space in folder name?

Please always state your platform. I assume it is Windows.

Windows directory separators are backslashes "\" not forward slashes "/".

If the directory or filename contain spaces, use double-quotes:

Code: Select all

-path "C:\Dropbox (Personal)\Scannade dokument\Epson\My messages\Test\Output\"
by snibgo
2019-06-16T11:32:25-07:00
Forum: Users
Topic: Batch changing picture files
Replies: 10
Views: 231

Re: Batch changing picture files

Change black to red That would be: -fill Red -opaque Black (or even better, if it is possible to get the program for each file to stop and ask me for which color to change to) IM can't do that. Instead of mogrify, you could have a shell loop to process the files, with the shell asking the user for ...