Search found 22952 matches

by fmw42
2018-04-19T22:30:34-07:00
Forum: Consulting
Topic: Automatically apply opacity when PNG files are in folder.
Replies: 8
Views: 57

Re: Automatically apply opacity when PNG files are in folder.

You need to tell us on what platform you are trying to do this. Installation and command syntax are different. See https://www.imagemagick.org/script/download.php
by fmw42
2018-04-19T21:29:07-07:00
Forum: Consulting
Topic: Automatically apply opacity when PNG files are in folder.
Replies: 8
Views: 57

Re: Automatically apply opacity when PNG files are in folder.

If you want to process a whole folder of images, then use mogrify rather than convert. See https://www.imagemagick.org/Usage/basics/#mogrify create a new output folder change directory to input folder mogrify -path path2/output_folder -format png -alpha opaque -channel A -evaluate Multiply 0.6 +chan...
by fmw42
2018-04-19T18:47:11-07:00
Forum: Bugs
Topic: [RESOLED] Possible bugs fx trig functions
Replies: 2
Views: 36

Re: Possible bugs fx trig functions

DOH! :oops: Staring at that for hours and missed it.

Thanks.
by fmw42
2018-04-19T17:58:31-07:00
Forum: Bugs
Topic: [RESOLED] Possible bugs fx trig functions
Replies: 2
Views: 36

[RESOLED] Possible bugs fx trig functions

It would seem that in IM 6.9.9.40 and 7.0.7.28 (Mac OSX Sierra) that arcsin and arccos are reversed. y=0 convert xc: -format "%[fx:acos(y)]\n" info: 0 convert xc: -format "%[fx:asin(y)]\n" info: 1.5708 = pi/2 y=0 magick xc: -format "%[fx:acos(y)]\n" info: 0 magick xc: -format "%[fx:asin(y)]\n" info...
by fmw42
2018-04-18T13:43:06-07:00
Forum: Users
Topic: resample creates large files in /tmp
Replies: 2
Views: 65

Re: resample creates large files in /tmp

I often find it easier to get desired results by -resize the image to the desired pixel dimensions and then adding -density to assign the final density that you want that will make it print to the desired print size. Just an alternate to -resample.
by fmw42
2018-04-18T13:41:04-07:00
Forum: Users
Topic: trouble creating contact sheet with montage
Replies: 6
Views: 143

Re: trouble creating contact sheet with montage

That is what I told you how to do earlier. Make each tile smaller via -geometry, then pipe the output from montage to convert - -bordercolor white -border 150. montage lena.png -duplicate 3 -tile 2x2 -background white -geometry 64x64+5+5 miff:- | convert - -bordercolor white -border 50 lena_montage2...
by fmw42
2018-04-18T09:23:46-07:00
Forum: Users
Topic: trouble creating contact sheet with montage
Replies: 6
Views: 143

Re: trouble creating contact sheet with montage

So you want a border around each tiled image, not a border around the montage. Is that correct? If so, then you need to add the -bordercolor and the -border arguments. For example, try this montage lena.jpg -duplicate 3 -tile 2x2 -background white -bordercolor gray -border 20 -geometry 64x64+20+20 l...
by fmw42
2018-04-18T09:11:52-07:00
Forum: Users
Topic: TIF conversion
Replies: 2
Views: 55

Re: TIF conversion

Your tiff is likely CMYK. You should convert to sRGB before saving. Many viewers cannot display CMYK correctly and the symptom of that is inverted colors. Please, always provide your IM version and platform when asking questions, since syntax may differ. Also provide your exact command line and if p...
by fmw42
2018-04-17T17:36:54-07:00
Forum: Users
Topic: trouble creating contact sheet with montage
Replies: 6
Views: 143

Re: trouble creating contact sheet with montage

Resize your images small enough that you leave room for the margins, via your -geometry setting. Then do the montage. Then add a white border around the outside with enough thickness in pixels to produce 1 inch of margin. Your density is 150 dpi so for one inch, the -border value would be 150. There...
by fmw42
2018-04-17T09:37:47-07:00
Forum: Users
Topic: Invalid TIFF directory; tags are not sorted in ascending order. `TIFFReadDirectoryCheckOrder'
Replies: 5
Views: 140

Re: Invalid TIFF directory; tags are not sorted in ascending order. `TIFFReadDirectoryCheckOrder'

Tiff is a very customizable format. I suspect those tools are not sensitive to proper tiff formatting. Libtiff may be more sensitive to such changes. So I still think this is a malformed or very customized image TIFF formatting that libtiff will not handle. Can you generate a TIFF image that is not ...
by fmw42
2018-04-17T09:35:24-07:00
Forum: Users
Topic: Using ImageMagick with AEM6.3 using commandline gives error 137
Replies: 1
Views: 55

Re: Using ImageMagick with AEM6.3 using commandline gives error 137

I do not think this is an imagemagick error. What is your Imagemagick version and platform?
by fmw42
2018-04-16T22:36:14-07:00
Forum: Users
Topic: improper image header
Replies: 6
Views: 157

Re: improper image header

IM 6 used convert not magick. I do not understand the use of png:- png:- in you command. Have you tried the commands with actual image files directly rather than some kind of stdin/stdout?
by fmw42
2018-04-16T10:18:09-07:00
Forum: Users
Topic: Layered Tiffs to PDF
Replies: 2
Views: 80

Re: Layered Tiffs to PDF

Please, always provide your IM version and platform when asking questions, since syntax may differ. Also provide your exact command line and if possible your images. See the top-most post in this forum "IMPORTANT: Please Read This FIRST Before Posting" at http://www.imagemagick.org/discourse-server/...
by fmw42
2018-04-16T10:16:42-07:00
Forum: Users
Topic: Invalid TIFF directory; tags are not sorted in ascending order. `TIFFReadDirectoryCheckOrder'
Replies: 5
Views: 140

Re: Invalid TIFF directory; tags are not sorted in ascending order. `TIFFReadDirectoryCheckOrder'

The first 3 are just warnings and can be ignore. The last implies there is a malformed TIFF which is missing the JPEG tables, assuming it is JPEG compressed.
by fmw42
2018-04-16T10:14:49-07:00
Forum: Developers
Topic: Find the position of all the small images inside an image
Replies: 1
Views: 91

Re: Find the position of all the small images inside an image

Please, always provide your IM version and platform when asking questions, since syntax may differ. Also provide your exact command line and if possible your images. See the top-most post in this forum "IMPORTANT: Please Read This FIRST Before Posting" at http://www.imagemagick.org/discourse-server/...