Search found 21830 matches

by fmw42
2017-10-18T09:35:50-07:00
Forum: Users
Topic: Emulate Photoshop/Gimp blend mode “Overlay”
Replies: 11
Views: 236

Re: Emulate Photoshop/Gimp blend mode “Overlay”

IM 6.7.8.9 was at the time IM was undergoing changes with regard to linear and non-linear gray. And there were buggy versions as well. See http://www.imagemagick.org/discourse-server/viewtopic.php?f=4&t=21269 Best if you upgrade 6.7.8.9. Using -colorspace gray -colorspace rgb was the recommended sol...
by fmw42
2017-10-17T22:14:39-07:00
Forum: Consulting
Topic: Looking for support on adaptively cleaning up the background.
Replies: 1
Views: 4128

Re: Looking for support on adaptively cleaning up the background.

Bradley Roth thresholding is likely similar to ImageMagick -lat or my script, localthresh (http://www.fmwconcepts.com/imagemagick/localthresh/index.php). However, the mean statistics in ImageMagick are computed in a brute force way for each region; whereas in Bradley Roth, they are done using Integr...
by fmw42
2017-10-17T15:11:36-07:00
Forum: Users
Topic: Emulate Photoshop/Gimp blend mode “Overlay”
Replies: 11
Views: 236

Re: Emulate Photoshop/Gimp blend mode “Overlay”

If those do not work, then post your input image and the output image from your PS or GIMP processing.
by fmw42
2017-10-17T15:10:18-07:00
Forum: Users
Topic: Emulate Photoshop/Gimp blend mode “Overlay”
Replies: 11
Views: 236

Re: Emulate Photoshop/Gimp blend mode “Overlay”

Alternate:

Code: Select all

convert \
\( in.jpg -colorspace gray -alpha set -channel alpha -evaluate set 50% +channel \) \
\( -clone 0 -alpha off -fill "#ff9090" -colorize 100 \) \
+swap \
-compose overlay -composite out.jpg
by fmw42
2017-10-17T15:06:00-07:00
Forum: Users
Topic: Emulate Photoshop/Gimp blend mode “Overlay”
Replies: 11
Views: 236

Re: Emulate Photoshop/Gimp blend mode “Overlay”

try

Code: Select all

convert in.jpg \
\( -clone 0 -fill "#ff9090" -colorize 100 \) \
\( -clone 0 -colorspace gray -alpha set -channel alpha -evaluate set 50% +channel \) \
-delete 0 \
-compose overlay -composite out.jpg
by fmw42
2017-10-17T14:56:09-07:00
Forum: Users
Topic: installation
Replies: 4
Views: 249

Re: installation

2. I did download the binary for macOS Sierra so this could be the issue as i have High Sierra This is the issue. You need to get a High Sierra download from Homebrew for IM 7 or one from MacPorts for IM 6. Try installing from Homebrew and see if that works. I do not see where it says anything abou...
by fmw42
2017-10-17T14:51:21-07:00
Forum: Bugs
Topic: convert grayscale tif to psd, create very large psd-file
Replies: 8
Views: 834

Re: convert grayscale tif to psd, create very large psd-file

snibgo wrote:Can't open it with what?
It was Mac PREVIEW, which opens the input fine. However, GraphicConverter opens the output fine. On my Mac, there is no preview icon as on the input. So that may be part of the issue for PREVIEW?
by fmw42
2017-10-17T09:09:38-07:00
Forum: Bugs
Topic: convert grayscale tif to psd, create very large psd-file
Replies: 8
Views: 834

Re: convert grayscale tif to psd, create very large psd-file

Using RLE compression as snibgo suggested, I now get convert -quiet 072017McCain_grayscale.tif -alpha off -compress rle -type bilevel -depth 1 test.psd identify test.psd test.psd[0] PSD 6375x4712 6375x4712+0+0 1-bit Grayscale Gray 256c 2.476MiB 0.010u 0:00.009 test.psd[1] PSD 6375x4712 6375x4712+0+0...
by fmw42
2017-10-16T23:12:04-07:00
Forum: Bugs
Topic: convert grayscale tif to psd, create very large psd-file
Replies: 8
Views: 834

Re: convert grayscale tif to psd, create very large psd-file

There are several issue with converting your lzw compressed grayscale 1-bit TIFF to PSD. PSD will be uncompressed. I tried using lzw compression, but that did not work. PSD will include an alpha channel. I tried removing he alpha channel but that did not work. PSD has two layers -- the same image, b...
by fmw42
2017-10-16T19:45:10-07:00
Forum: Users
Topic: installation
Replies: 4
Views: 249

Re: installation

What was your exact command line that gave the error? Note that in IM 7, convert is changed to magick. Try magick logo: logo.gif Does that work? Also how did you install ImageMagick? If from binary, then the binary is only for Sierra, not High Sierra. See http://www.imagemagick.org/script/download.p...
by fmw42
2017-10-16T16:17:00-07:00
Forum: Bugs
Topic: ImageMagick incorrectly renders text using BDF font files.
Replies: 5
Views: 386

Re: ImageMagick incorrectly renders text using BDF font files.

The ImageMagick developers will need to look into this. Perhaps the font glyphs are not well define?
by fmw42
2017-10-16T15:17:16-07:00
Forum: Bugs
Topic: ImageMagick incorrectly renders text using BDF font files.
Replies: 5
Views: 386

Re: ImageMagick incorrectly renders text using BDF font files.

Typical fonts that ImageMagick can use are:

| True Type Fonts (ttf)
| Ghostscript Fonts (afm)
| Open Type Fonts (otf)
by fmw42
2017-10-16T11:25:16-07:00
Forum: Users
Topic: Keep print size while converting bmp/png files
Replies: 3
Views: 828

Re: Keep print size while converting bmp/png files

This is may just be a precision issue when using identify after conversion. The Resolution may simply be rounded or truncated to an integer when showing the value in identify. The IM developers will have to comment further.
by fmw42
2017-10-16T11:06:17-07:00
Forum: Users
Topic: Position issue after rotating text on image
Replies: 4
Views: 660

Re: Position issue after rotating text on image

To keep the position, you must specify offsets with -gravity center. For example, convert -size 300x300 xc:white -fill black -gravity center -font arial -pointsize 24 -annotate +50-50 "some text" tmp.png http://www.fmwconcepts.com/misc_tests/text_rotation/tmp.png convert -size 300x300 xc:white -fill...
by fmw42
2017-10-16T09:47:27-07:00
Forum: Bugs
Topic: convert grayscale tif to psd, create very large psd-file
Replies: 8
Views: 834

Re: convert grayscale tif to psd, create very large psd-file

Add -compress lzw. Your input has lzw compression. convert 072017McCain_grayscale.tif -compress lzw 072017McCain_grayscale_new.tif identify 072017McCain_grayscale.tif 072017McCain_grayscale_new.tif 072017McCain_grayscale.tif TIFF 6375x4712 6375x4712+0+0 8-bit Grayscale Gray 825332B 0.010u 0:00.009 0...