Search found 11483 matches

by snibgo
2019-04-25T09:23:47-07:00
Forum: Bugs
Topic: error message on exporting from Lightroom
Replies: 9
Views: 166

Re: error message on exporting from Lightroom

For me... magick -version ... says ... Version: ImageMagick 7.0.7-28 Q16 x64 2018-03-25 http://www.imagemagick.org Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC License: http://www.imagemagick.org/script/license.php Visual C++: 180040629 Features: Cipher DPC HDRI Modules OpenMP Delegates...
by snibgo
2019-04-25T08:56:57-07:00
Forum: Bugs
Topic: Wrong output of Unicode grapheme cluster
Replies: 6
Views: 138

Re: Wrong output of Unicode grapheme cluster

What version of IM? If you build it yourself, what version of freetype?
by snibgo
2019-04-25T08:50:37-07:00
Forum: Users
Topic: Resolution Problem
Replies: 9
Views: 231

Re: Resolution Problem

Yes, that's it. Why is the straight line at the top and bottom of the stroke in a shade of blue and not in the light blue? Is there a way to resolve this? The reason is that the top and bottom of the lines do not occur at pixel boundaries. For example, your strokewidth is 21.04, so either the top or...
by snibgo
2019-04-25T07:45:35-07:00
Forum: Bugs
Topic: error message on exporting from Lightroom
Replies: 9
Views: 166

Re: error message on exporting from Lightroom

rt-schwabe wrote:I downloaded the last version of IM and I also tried version 6.8 with same results.
Those are vague. Please give the exact version numbers, as reported by "convert -version".

IM v6.9.9-50 and v7.0.7-28 read that file with no problem.
by snibgo
2019-04-25T07:39:12-07:00
Forum: Users
Topic: Resolution Problem
Replies: 9
Views: 231

Re: Resolution Problem

If you want an A1 size print, this is 841mm x 594mm. At (say) 10 pixels/mm, you want an image 8410x5940 pixels. This is much larger than your "-size 665x848". As I need the shape to be in the exact location and of the correct size, I am not sure that enlargening and then resizing will solve my probl...
by snibgo
2019-04-24T14:14:19-07:00
Forum: Users
Topic: Categorising Images By Background
Replies: 12
Views: 350

Re: Categorising Images By Background

It was untested, so had some bugs. This works: for %%F in (*.jpg) do ( for /F "usebackq" %%L in (`%IMG7%magick ^ %%F ^ -fill Black +opaque White ^ -format "ISWHITE=%%[fx:mean>0.7?1:0]" ^ info:`) do set %%L if !ISWHITE!==1 ( copy %%F whiteBackground\%%F ) else ( copy %%F otherBackground\%%F ) ) For h...
by snibgo
2019-04-24T12:56:51-07:00
Forum: Users
Topic: -compose plus on transparent canvas
Replies: 9
Views: 214

Re: -compose plus on transparent canvas

I don't know why you want to add an image to a transparent canvas. Can you explain what you want from this?
by snibgo
2019-04-24T12:54:58-07:00
Forum: Users
Topic: -compose plus on transparent canvas
Replies: 9
Views: 214

Re: -compose plus on transparent canvas

As Fred says. (We often cross-post.) "-compose Plus -composite" simply adds values, when both inputs are opaque. But when at least one has transparency, inputs are "pre-multiplied" by alpha, and the result is "post-divided" by the sum of the alphas. g_4_1.png is fully opaque. Composite this with "pl...
by snibgo
2019-04-24T11:16:46-07:00
Forum: Users
Topic: make images web-ready through sub-folders
Replies: 2
Views: 86

Re: make images web-ready through sub-folders

IM knows nothing about subdirectories. I suggest you write a shell "for" loop. Within that loop, you can call any script or run any command you want, using the loop variable name as a subdirectory name.
by snibgo
2019-04-24T08:52:00-07:00
Forum: Users
Topic: Separate colors and black
Replies: 6
Views: 167

Re: Separate colors and black

You want to isolate coloured pixels (ie with a high saturation) against non-coloured pixels (low saturation, eg white, gray and black). I would use the C channel of HCL: magick index.png -colorspace HCL -channel G -separate +channel -threshold 30% mask.png mask.png is white where you have colour, ot...
by snibgo
2019-04-24T08:06:23-07:00
Forum: Users
Topic: convert cmyk eps to tiff & keep transparency
Replies: 11
Views: 231

Re: convert cmyk eps to tiff & keep transparency

Yes, we can rasterise twice: first to get the RGBA transparency, second to get the CMYK colours. Then "copyOpacity". I would save the mask as "mpr:", so we can use that in the same command (Windows BAT syntax): convert ^ -density 300 ^ -background None ^ -colorspace sRGB ^ test02.eps ^ -alpha Extrac...
by snibgo
2019-04-24T07:07:21-07:00
Forum: Users
Topic: Separate colors and black
Replies: 6
Views: 167

Re: Separate colors and black

Your input is JPG and has no black pixels. "-fuzz" can help, but JPG is a terrible format for image processing. I suggest you re-scan and save in a lossless format (eg PNG or TIFF).
by snibgo
2019-04-24T06:59:39-07:00
Forum: Bugs
Topic: Duplicate images after conversion
Replies: 11
Views: 313

Re: Duplicate images after conversion

Yes, the "exiftool" line is an exiftool command.

The next line, with "mogrify", is a mogrify command, and it is wrong.
by snibgo
2019-04-24T06:57:30-07:00
Forum: Users
Topic: convert cmyk eps to tiff & keep transparency
Replies: 11
Views: 231

Re: convert cmyk eps to tiff & keep transparency

IM delegates the rasterisation of EPS to Ghostscript. GS can't return CMYKA images. So if we want to retain the CMYK transparency, we need to tell GS to make an RGBA image, then convert that back to CMYKA. "+antialias" can be used, as you do, to tell GS not to antialias. convert -verbose -density 12...
by snibgo
2019-04-24T06:02:20-07:00
Forum: Users
Topic: convert cmyk eps to tiff & keep transparency
Replies: 11
Views: 231

Re: convert cmyk eps to tiff & keep transparency

What version of IM, on what platform? I'll assume IM v7. Your inputs have only one image. If they had more, we might use "[0]" suffix. The basic conversions are simply: magick -density 300 test01.eps out1.tiff magick -density 300 test02.eps out2.tiff "-density" is not required, but the results are v...