Search found 10842 matches

by snibgo
2018-11-01T06:24:54-07:00
Forum: Users
Topic: activation OpenCL?
Replies: 2
Views: 1107

Re: activation OpenCL?

I know almost nothing about OpenCL, but the first step is to find whether the IM version you use is built with OpenCL: f:\web\im>%IM7DEV%magick -version Version: ImageMagick 7.0.7-28 Q32 x86_64 2018-04-29 http://www.imagemagick.org Copyright: © 1999-2018 ImageMagick Studio LLC License: http://www.im...
by snibgo
2018-11-01T06:14:35-07:00
Forum: Users
Topic: How to dim or reduce opacity on annotation
Replies: 4
Views: 632

Re: How to dim or reduce opacity on annotation

I wonder if anyone is clever enough to rewrite this in V7 syntax? Insert the word "magick" before "convert" and "composite". That works for IM v7. However, the documention is very old. These days, we would use a single "magick" command: magick dragon.gif -background #00000080 -fill white label:"Fae...
by snibgo
2018-11-01T06:00:52-07:00
Forum: Users
Topic: Resize of a RGB TIFF in a CMYK TIFF is brighter compared to Photoshop
Replies: 10
Views: 927

Re: Resize of a RGB TIFF in a CMYK TIFF is brighter compared to Photoshop

Your input has an embedded profile, so your IM command isn't assigning a new profile but converting to the new profile. If you assign in Photoshop, that's the problem. Your PS and IM versions use different ICC profiles, so that will create a numeric difference. It will also create a visual differenc...
by snibgo
2018-11-01T05:37:25-07:00
Forum: Users
Topic: Ignore transparent pixels in subimage search
Replies: 2
Views: 511

Re: Ignore transparent pixels in subimage search

What version of IM? Please show the command you used. Otherwise we cannot suggest how it could be improved. I have written process modules eg Process modules for this exact problem. convert srchbig.png srchsmall.png -process srchimg NULL: 0.0940821 @ 310,21 However, to use my process modules, you ne...
by snibgo
2018-11-01T05:14:11-07:00
Forum: Bugs
Topic: tiff to pdf conversion fails with "incorrect count"
Replies: 11
Views: 1285

Re: tiff to pdf conversion fails with "incorrect count"

edwinherald wrote: convert pdferror.tiff output.pdf -debug coder
:
:
convert: `coder' @ error/convert.c/ConvertImageCommand/3250.
You can see your command created an error. We want to debug the read of the input tiff, so please try again with "-debug coder" before the input file.
by snibgo
2018-10-31T11:07:43-07:00
Forum: Bugs
Topic: tiff to pdf conversion fails with "incorrect count"
Replies: 11
Views: 1285

Re: tiff to pdf conversion fails with "incorrect count"

TIFF is a massively complex format. Perhaps this file uses an unusual combination of features that IM can't handle, eg JPEG with more than 8 bits/sample.

"-debug coder" will give some info, including "bits per sample".
by snibgo
2018-10-31T08:14:24-07:00
Forum: Bugs
Topic: tiff to pdf conversion fails with "incorrect count"
Replies: 11
Views: 1285

Re: tiff to pdf conversion fails with "incorrect count"

What version of IM? If old, try an upgrade.

What does exiftool say about that file?

Perhaps the input file is corrupt. Please provide a link to it.
by snibgo
2018-10-31T07:34:11-07:00
Forum: Users
Topic: Resize of a RGB TIFF in a CMYK TIFF is brighter compared to Photoshop
Replies: 10
Views: 927

Re: Resize of a RGB TIFF in a CMYK TIFF is brighter compared to Photoshop

I suggest you use either "-colorspace" or "-profile", but not both. Different software will have different resizing code, so I would expect some difference, but probably not noticeable for ordinary photographs. Please quantify your finding of "a little bit brighter". What is your Original.tif? CMYK,...
by snibgo
2018-10-31T06:15:05-07:00
Forum: Bugs
Topic: tga to tiff gets rotated
Replies: 4
Views: 522

Re: tga to tiff gets rotated

For v7, I suggest you use "magick", not "convert" or "magick convert".

It works fine for v7.0.7-28. Perhaps you have found a recent bug.
by snibgo
2018-10-31T05:50:06-07:00
Forum: Users
Topic: Batch Resize Canvas Size to Longest Side
Replies: 6
Views: 831

Re: Batch Resize Canvas Size to Longest Side

How can we, if you don't tell us what shell you are using?

For Windows, use the "for" command.

For bash, use the "for" command (but bash "for" is different to Windows "for").
by snibgo
2018-10-31T05:38:58-07:00
Forum: Bugs
Topic: tga to tiff gets rotated
Replies: 4
Views: 522

Re: tga to tiff gets rotated

What version of IM?

It seems to work fine for me, with IM v6.9.9-50. If your version is old, I suggest you upgrade.
by snibgo
2018-10-31T05:34:45-07:00
Forum: Users
Topic: find opacity of pixels alpha layer
Replies: 25
Views: 5832

Re: find opacity of pixels alpha layer

"-trim" removes edges to that no edge has all pixels the same colour, in this case transparent-black. Half the pixels in your image are transparent-black. You want to remove them all, so the result will be much smaller than the input. Is that right? Perhaps you can make an example (eg with Gimp) of ...
by snibgo
2018-10-30T12:10:39-07:00
Forum: Users
Topic: Batch Resize Canvas Size to Longest Side
Replies: 6
Views: 831

Re: Batch Resize Canvas Size to Longest Side

With v7, you can do individual files like this...

Code: Select all

magick in.png -gravity Center -background Blue -extent %[fx:max(w,h)]x%[fx:max(w,h)] out.png
... then put that in a shell loop.
by snibgo
2018-10-30T08:22:44-07:00
Forum: Users
Topic: find opacity of pixels alpha layer
Replies: 25
Views: 5832

Re: find opacity of pixels alpha layer

That image has only two values of alpha: zero (fully transparent) and 100% (fully opaque).

We can trim the fully transparent pixels with:

Code: Select all

convert 5bd84de35c7c8.png -bordercolor None -border 1 -trim +repage out.png
Your version of IM is very old. I suggest you upgrade it.
by snibgo
2018-10-30T06:26:21-07:00
Forum: Users
Topic: find opacity of pixels alpha layer
Replies: 25
Views: 5832

Re: find opacity of pixels alpha layer

wrote:... can we remove the pixels from the image ...
What does "remove" mean? Do you want to make them fully transparent? Or do you want to crop the image, trimming those pixels from edges? Or what?

Sample images may help. Also say what version of IM you use, on what platform.