Search found 11698 matches

by snibgo
2019-06-19T06:52:50-07:00
Forum: Users
Topic: Skew Image by only 1 pixel
Replies: 3
Views: 121

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: 190

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: 190

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: 68

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: 68

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: 123

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: 190

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: 10
Views: 350

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: 228

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: 228

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: 93

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: 228

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 ...
by snibgo
2019-06-15T11:16:18-07:00
Forum: Users
Topic: Compress not working with text to image
Replies: 2
Views: 113

Re: Test to image compress not working

It works fine with v6.9.9-50. Your version is very old. I suggest you upgrade.
by snibgo
2019-06-15T09:20:16-07:00
Forum: Users
Topic: Setting an image color curve for three channels individually?
Replies: 4
Views: 160

Re: Setting an image color curve for three channels individually?

I would do it like this:

Code: Select all

magick at8XHKF.png -channel RB -threshold 75% -channel G -evaluate set 0 +channel out.png