Search found 23056 matches

by fmw42
2018-05-23T10:07:42-07:00
Forum: Users
Topic: How to remove transparency from a TIF and replace with white background
Replies: 22
Views: 489

Re: How to remove transparency from a TIF and replace with white background

Your problem is that you did not check SAVE TRANSPARENCY in the Options dialog when you saved your file. I opened your file and reserved it checking that box and now it shows transparency when opened and when converted to PNG.

Image
by fmw42
2018-05-22T15:37:50-07:00
Forum: Users
Topic: Detecting "nearly" grayscale
Replies: 3
Views: 64

Re: Detecting "nearly" grayscale

Doing what you want could cause problems if a just one or a few intended pixels were colored and you needed those to be colored as indicators of something at those locations. So do that with caution knowing what your image content is.
by fmw42
2018-05-22T13:29:46-07:00
Forum: Users
Topic: How to remove transparency from a TIF and replace with white background
Replies: 22
Views: 489

Re: How to remove transparency from a TIF and replace with white background

I removed the grouping and deleted one of the two layers and saved again to TIFF, but it still does not show transparency. Are these "smart layers"? If so, perhaps that is the issue. ImageMagick probably cannot handle any thing but simple pages or perhaps layers as TIFF files.
by fmw42
2018-05-22T13:13:14-07:00
Forum: Users
Topic: How to remove transparency from a TIF and replace with white background
Replies: 22
Views: 489

Re: How to remove transparency from a TIF and replace with white background

Your original test.tif has background transparency in two layers and does not have any alpha channel.There is also a layer group called "Zeichenfläche 1". I am not sure why ImageMagick nor the other tools cannot read the background transparency, but it might be due to the fact that you have a layer ...
by fmw42
2018-05-22T09:13:46-07:00
Forum: Users
Topic: How to remove transparency from a TIF and replace with white background
Replies: 22
Views: 489

Re: How to remove transparency from a TIF and replace with white background

Your original test.tif file does indeed open in Photoshop with transparency. But none of my other tools such as Mac Preview and GraphicsConverter and GIMP show the transparency. Even EXIFTOOL shows 258 BitsPerSample : 8 8 8 So the transparency is there in some hidden way that only Photoshop can read...
by fmw42
2018-05-21T15:36:23-07:00
Forum: Bugs
Topic: Possible bug -annotate IM 6 and 7 OSX Sierra
Replies: 2
Views: 60

Possible bug -annotate IM 6 and 7 OSX Sierra

. The following command gives errors of two types depending upon version. It works in IM 7.0.7.28, but fails afterwards up to and including IM 7.0.7.34 and IM 6.9.9.46. (not sure how far back in IM 6 it goes). magick -size 600x200 xc:none -font Impact -pointsize 50 -fill white -stroke black -strokew...
by fmw42
2018-05-20T22:37:01-07:00
Forum: Bugs
Topic: Another "-stroke" and "label:" issue.
Replies: 2
Views: 88

Re: Another "-stroke" and "label:" issue.

Works fine in IM 7.0.7.34 Q16 Mac OSX Sierra.

Code: Select all

magick -pointsize 144 -strokewidth 20 -stroke black label:"A" label.png
by fmw42
2018-05-15T17:05:51-07:00
Forum: Users
Topic: How can I make labels from filenames in batch?
Replies: 14
Views: 447

Re: How can I make labels from filenames in batch?

Use -gravity southwest rather than -gravity northwest. Your syntax is in the wrong order, though IM 6 is rather forgiving. But IM 7 is not. Also as I said before for IM 7, do not use magick convert. Use magick, only, unless you really want IM 7 to call and use IM 6. Try for %%F in (Front Covers\*.pn...
by fmw42
2018-05-15T15:23:42-07:00
Forum: Users
Topic: How can I make labels from filenames in batch?
Replies: 14
Views: 447

Re: How can I make labels from filenames in batch?

I do not know Windows, but in IM 7, just use magick, not magick convert. As best I can see, all you are doing is creating the text image. You have not composited it over the background image. You are also using -caption. That writes to meta data. You probably want caption: or label:. Just a guess, b...
by fmw42
2018-05-14T21:48:54-07:00
Forum: Users
Topic: How can I make labels from filenames in batch?
Replies: 14
Views: 447

Re: How can I make labels from filenames in batch?

Caption: is like label, but it allows multiple line wrapping. But you cannot different sizes for each line. I was suggesting using -annotate. In fact it does allow rotation using the +X+Y arguments. The filename can be extracted from the image automatically since -annotate can use % escapes. For exa...
by fmw42
2018-05-14T19:20:17-07:00
Forum: Users
Topic: How can I make labels from filenames in batch?
Replies: 14
Views: 447

Re: How can I make labels from filenames in batch?

You could use -annotate to add text to an image. You would use it twice in the same command line to create text of different point sizes and/or colors and/or fonts. See http://www.imagemagick.org/Usage/text/ and http://www.imagemagick.org/Usage/fonts/. If you text has to be rotated to a vertical arr...
by fmw42
2018-05-13T20:29:49-07:00
Forum: Developers
Topic: Swizzling Data
Replies: 3
Views: 426

Re: Swizzling Data

In IM 6, you can do your rrr1 by: convert image.png -channel r -separate +channel -duplicate 2 -set colorspace sRGB -combine PNG32:image_rrr1.png By default, alpha is fully opaque (alpha=1). If you want rrr0, you can do convert image.png -channel r -separate +channel -duplicate 2 -set colorspace sRG...
by fmw42
2018-05-11T10:15:25-07:00
Forum: Users
Topic: Thumbnailing - preserve transparency
Replies: 2
Views: 261

Re: Thumbnailing - preserve transparency

Without having your EPS image to work with it is hard to know exactly, but try convert -density X -colorspace sRGB image.eps image.png X is the desired density such as 72 nominal, but for larger outputs use 150 or 300. You need to convert to srgb via -colorspace, since the ghostscript delegate does ...
by fmw42
2018-05-10T21:32:28-07:00
Forum: Users
Topic: Anyone please explain me below command.
Replies: 1
Views: 179

Re: Anyone please explain me below command.

It is doing a displacement map. The first image is to be displaced and the next two are the X and Y displacement map images that tells how much to displace the first image. See http://www.imagemagick.org/Usage/mapping/#displace_2d http://www.imagemagick.org/script/compose.php (displace at the bottom...