Search found 25563 matches

by fmw42
2019-09-14T15:40:14-07:00
Forum: Users
Topic: Lighten dark areas only?
Replies: 11
Views: 17271

Re: Lighten dark areas only?

If you are able to work in either Windows 10 Unix or Windows w/Cygwin, I have a bash unix shell script for which I tried to emulate Photoshop function of the same name. The results are similar but I do not claim it works perfectly to replicate Photoshop. Here I just adjust the shadow amount. Input: ...
by fmw42
2019-09-14T08:34:15-07:00
Forum: Users
Topic: Lighten dark areas only?
Replies: 11
Views: 17271

Re: Lighten dark areas only?

Create a HALD image (in PNG output). Take it to your Photoshop and apply the same shadow highlight processing to it. Save as PNG. Bring it back to ImageMagick and apply that to your image using -hald-clut. See https://imagemagick.org/Usage/color_mods/#hald-clut
by fmw42
2019-09-13T13:47:02-07:00
Forum: Users
Topic: Lighten dark areas only?
Replies: 11
Views: 17271

Re: Lighten dark areas only?

ImageMagick does not have a direct equivalent command to Photoshop shadows and highlights. So what user snibgo gave was one approach from what you asked originally. Did you try that? It seems to bring out the details in the hair as you asked. Also you said TIFF files, but the file you provided is JP...
by fmw42
2019-09-12T13:52:40-07:00
Forum: MagickWand
Topic: Library producing 12MB MIFF images
Replies: 10
Views: 96608

Re: Library producing 12MB MIFF images

add -verbose to your command line or -debug all and post the results here for the ImageMagick developers to see what might be wrong.
by fmw42
2019-09-12T10:41:44-07:00
Forum: Users
Topic: Combine two psd files into one, keep filename
Replies: 7
Views: 12269

Re: Combine two psd files into one, keep filename

I do not think it is that simple. With PSD files, the first layer is the flattened layer from all the rest. Does the PSD files in this case have multiple layers?. Even if only one layer each, one would need to generate the flattened layer from the two images to add to the two individual layers. Can ...
by fmw42
2019-09-11T11:32:55-07:00
Forum: MagickWand
Topic: Library producing 12MB MIFF images
Replies: 10
Views: 96608

Re: Library producing 12MB MIFF images

MIFF can only be viewed using ImageMagick display command. How did you try to open it? It has a header that can be viewed if you open the file in a text editor. The pixel data will be gibberish in the text editor, however.
by fmw42
2019-09-11T10:23:41-07:00
Forum: MagickWand
Topic: Library producing 12MB MIFF images
Replies: 10
Views: 96608

Re: Library producing 12MB MIFF images

OK, you do have jpeg listed. Does this work?

Code: Select all

magick logo: logo.jpg
magick logo.jpg logo.gif
If so, then everything is fine with regard to your jpg delegate and I would suggest you review your code.
by fmw42
2019-09-11T09:35:05-07:00
Forum: MagickWand
Topic: Library producing 12MB MIFF images
Replies: 10
Views: 96608

Re: Library producing 12MB MIFF images

What do you get from

Code: Select all

magick -version

or 

magick -list configure
does it list jpg or jpeg in the line for Delegates. If not, then you either have not installed libjpg where ImageMagick can find it or the llibjpg was installed faulty.
by fmw42
2019-09-10T22:12:59-07:00
Forum: Users
Topic: Resize images to a certain size?
Replies: 5
Views: 9444

Re: Resize images to a certain size?

The width and height do not change. That define will tell imagemagick the size you want and it will iterate changing the quality value (compression) until it reaches that image size. But it is limited to JPG output only.
by fmw42
2019-09-10T20:27:13-07:00
Forum: Users
Topic: Resize images to a certain size?
Replies: 5
Views: 9444

Re: Resize images to a certain size?

That is possible with JPG output. See -define jpeg:extent={size} at https://imagemagick.org/Usage/formats/#jpg_write

DPI only affects print size, not raster image size unless you change width and height accordingly.
by fmw42
2019-09-10T20:23:53-07:00
Forum: Developers
Topic: Multicrop in windows .net
Replies: 1
Views: 62622

Re: Multicrop in windows .net

My scripts only run on Unix platforms. So you would have to be using Windows 10 Unix or Windows w/Cygwin installed. Once you do that, then see my home page at my link below for installation instructions and the link to the multicrop example page. I recommend using multicrop2. There is no .Net versio...
by fmw42
2019-09-10T16:45:36-07:00
Forum: Bugs
Topic: Regressión of conversion from TIFF to JPG
Replies: 1
Views: 63309

Re: Regressión of conversion from TIFF to JPG

Your image fails to convert for me on IM 6.9.10.36, IM 6.9.10.64 and IM 7.0.8.64 (and other IM 6 versions) Q16 Mac OSX Sierra. I get convert -quiet 101872_127179.TIF 101872_127179.JPG convert: 101872_127179.TIF: Null count for "Tag 34022" (type 1, writecount -3, passcount 1). `_TIFFVSetFi...
by fmw42
2019-09-10T09:15:19-07:00
Forum: Users
Topic: Counting Color and Grey Scale in a directory?
Replies: 19
Views: 27015

Re: Counting Color and Grey Scale in a directory?

If all the files are PNG, which distinguishes between RGB and Gray, you can read the colorspace and/or type from the headers, I think. So the raster data would not need to be read, only the headers. This would be quicker. Other tools such as EXIFTOOL, might be faster. Snibgo would know more about al...
by fmw42
2019-09-09T14:37:19-07:00
Forum: Fred's Scripts
Topic: Multiple pipes
Replies: 2
Views: 129437

Re: Multiple pipes

Comment out line 260: echo "shape=$shape; gain=$gain;" and try again. It is that echo that is causing the issue.