Search found 12163 matches

by snibgo
2019-09-24T08:30:49-07:00
Forum: Users
Topic: All my CR2 conversions are yellowed
Replies: 6
Views: 8367

Re: All my CR2 conversions are yellowed

Glad that helps. But note that this isn't "close to the original" because there is no original. There are only different renderings of the raw (mosaiced) image, which might include a JPEG rendering made by the camera or by other software.
by snibgo
2019-09-24T06:24:53-07:00
Forum: PerlMagick
Topic: [SOLVED] Creating a new() image from scratch, WITH attributes
Replies: 6
Views: 68391

Re: [SOLVED] Creating a new() image from scratch, WITH attributes

E. Fudd Wabbitwy wrote:open an empty PNG file as a target
Sorry, what does that mean? How can an image file be "empty"? Perhaps you mean it has a certain number of pixels but they are all transparent. But I don't think you mean that.
by snibgo
2019-09-24T06:18:51-07:00
Forum: Users
Topic: All my CR2 conversions are yellowed
Replies: 6
Views: 8367

Re: All my CR2 conversions are yellowed

dcraw can write PGM or TIFF format only. It can't create JPG files. dcraw (and other raw processors) have many controls. IM doesn't provide simple access to those controls. For basic conversion to sRGB I suggest: dcraw -6 -T -w -O out.tiff in.CR2 This makes a TIFF file, which IM can then convert to ...
by snibgo
2019-09-24T05:41:39-07:00
Forum: Users
Topic: All my CR2 conversions are yellowed
Replies: 6
Views: 8367

Re: All my CR2 conversions are yellowed

I suspect a colour-balance problem.

You don't say what command you used, or what delegate your version of IM is using to process the raw file. If you browse this problem in these forums, you will find my general advice: use a program such as dcraw directly to process raw files.
by snibgo
2019-09-24T03:43:20-07:00
Forum: Magick.NET
Topic: Create 8-bit depth BMP
Replies: 4
Views: 56905

Re: Create 8-bit depth BMP

Beware that "depth" might mean bits/channel/pixel, eg 8, or total bits/pixel, which might be 32 when there are four channels.

Software (including IM) should be explicit which definition they use, but rarely is.
by snibgo
2019-09-23T09:09:47-07:00
Forum: Consulting
Topic: Paid: Fix issue converting PDF to JPG
Replies: 8
Views: 67454

Re: Paid: Fix issue converting PDF to JPG

But what version of Ghostscript? See Fred's advice above.
by snibgo
2019-09-23T09:07:23-07:00
Forum: Users
Topic: Output - Bilevel
Replies: 2
Views: 5755

Re: Output - Bilevel

See the documentation http://www.imagemagick.org/script/comma ... ptions.php and search for "bilevel".
by snibgo
2019-09-23T04:01:13-07:00
Forum: Bugs
Topic: PNG to SVG conversion fails with ImageMagick 7.0.8-64
Replies: 13
Views: 104537

Re: PNG to SVG conversion fails with ImageMagick 7.0.8-64

What version of IM fails? You write "converting a PNG to a SCG" but I assume you mean "SVG". There does seem to be a problem. With v7.0.8-64 on Windows 8.1: magick xc: x.svg Fatal User Error 1002: Deadlock due to omp_set_lock being called on lock already owned by thread EDIT to a...
by snibgo
2019-09-23T03:57:01-07:00
Forum: Magick.NET
Topic: Create 8-bit depth BMP
Replies: 4
Views: 56905

Re: Create 8-bit depth BMP

dialecticus wrote:I want to create a BMP file ...
Which part of your code writes a file?
by snibgo
2019-09-22T14:53:32-07:00
Forum: PerlMagick
Topic: [SOLVED] Colorize(blend=>string) [as RGB pctgs; e.g., blend=>'100/0/0']
Replies: 7
Views: 64181

Re: [Solved] Colorize(blend=>string) [as RGB pctgs; e.g., blend=>'100/0/0']

When searching source code, I suggest you start with PerlMagick\Magick.xs. That shows the call to ColorizeImage(...) A grep of magickcore\*.h finds that function in fx.h.
by snibgo
2019-09-22T07:57:42-07:00
Forum: Users
Topic: Howdo I make +distort affine preserve virtual pixels?
Replies: 7
Views: 9087

Re: Howdo I make +distort affine preserve virtual pixels?

How about "+distort affine" which creates canvas dimensions and offsets, and then "-layers mosaic" to use that metadata to make the final image: convert in.png -alpha set -virtual-pixel transparent +distort affine "1,1 50,50 1,50 50,100 50,1 100,50" +write info: -backgr...
by snibgo
2019-09-21T21:06:48-07:00
Forum: Users
Topic: Howdo I make +distort affine preserve virtual pixels?
Replies: 7
Views: 9087

Re: Howdo I make +distort affine preserve virtual pixels?

I suggest:

Code: Select all

magick in.png -repage +50+50 -background None -layers Mosaic out.png
Or:

Code: Select all

magick in.png -background None -splice 50x50 out.png
by snibgo
2019-09-21T12:38:18-07:00
Forum: PerlMagick
Topic: [SOLVED] Colorize(blend=>string) [as RGB pctgs; e.g., blend=>'100/0/0']
Replies: 7
Views: 64181

Re: Colorize(blend=>string) [what's the format of string?]

Parameter 'fill' corresponds to the command line's 'value': as you say, it appears to be a color[1], ... I'm not saying that. I expect perl Colorize "fill" corresponds to the CLI "-fill", which is a colour, and perl Colorize "blend" corresponds to CLI "-colorize v...
by snibgo
2019-09-21T11:48:39-07:00
Forum: Users
Topic: Averaging (convert mean/median) 80000 16bit PNGs
Replies: 9
Views: 10977

Re: Averaging (convert mean/median) 80000 16bit PNGs

I think the OP wants an average image, not a simple number. My suggestion for 1x1 images is only for development and testing.
by snibgo
2019-09-21T11:45:19-07:00
Forum: PerlMagick
Topic: [SOLVED] Colorize(blend=>string) [as RGB pctgs; e.g., blend=>'100/0/0']
Replies: 7
Views: 64181

Re: Colorize(blend=>string) [what's the format of string?]

On $image->Colorize, see http://www.imagemagick.org/script/comma ... p#colorize . Perhaps the blend parameter corresponds to the command-line "value".

But "-colorize" can't create transparency.