Search found 11721 matches

by snibgo
2019-06-26T06:41:33-07:00
Forum: Magick++
Topic: Error Image.read JPG
Replies: 1
Views: 8

Re: Error Image.read JPG

What version of IM, on what platform?

What error is reported?

At the command line, with IM v6.9.9-50 and v7.0.7-28 on Windows 8.1, I get no errors for that image.
by snibgo
2019-06-26T06:10:29-07:00
Forum: Users
Topic: Removing water mark from scanned image
Replies: 1
Views: 29

Re: Removing water mark from scanned image

From the image you supply, I doubt there is a good solution. I can't see what distinguishes the large text from the small text. You could remove the long lines of the large text but cleanly removing these, while leaving "ep" of "Deputy", seems impossible.
by snibgo
2019-06-26T04:26:57-07:00
Forum: Magick++
Topic: Win VC++ ImageMagick-7.0.8-Q16\Magick++_Demo - Getting :error LNK2019: unresolved external symbol "__declspec(dllimport)
Replies: 1
Views: 42

Re: Win VC++ ImageMagick-7.0.8-Q16\Magick++_Demo - Getting :error LNK2019: unresolved external symbol "__declspec(dllimp

I don't use VC++ but one problem is:
1>..\lib\CORE_RL_MagickCore_.lib : warning LNK4272: library machine type 'x64' conflicts with target machine type 'x86'
It seems your library has been build for 64-bit CPUs but your target machine is a 32-bit CPU.
by snibgo
2019-06-25T14:49:55-07:00
Forum: Users
Topic: How to find out if a *.jpg is currently rotated?
Replies: 2
Views: 89

Re: How to find out if a *.jpg is currently rotated?

What version of IM, on what platform?

See "orientation" on http://www.imagemagick.org/script/escape.php

Code: Select all

magick or_1.jpg -format %[orientation] info:

TopLeft
See also http://www.imagemagick.org/script/comma ... uto-orient and Orientation.
by snibgo
2019-06-25T13:05:01-07:00
Forum: Users
Topic: Unable to parallelize pdf -> png conversion
Replies: 4
Views: 105

Re: Unable to parallelize pdf -> png conversion

Another possibility is a memory problem. When IM is used, Ghostscript rasterizes the entire document and passes that to IM which reads the entire rasterized document into memory. This might be hundreds of pages. When using Ghostscript directly, I don't suppose it needs to hold all rasterized pages i...
by snibgo
2019-06-25T09:40:51-07:00
Forum: Users
Topic: Unable to parallelize pdf -> png conversion
Replies: 4
Views: 105

Re: Unable to parallelize pdf -> png conversion

You try with the same input PDF for all processes. Have you tried this with different PDFs? What happens then? IM delegates the work of rasterizing the PDF to Ghostscript. "-verbose" will show the command used. I think IM creates a temporary file for the PDF, copies the input PDF to that, and calls ...
by snibgo
2019-06-25T03:49:12-07:00
Forum: Users
Topic: Convert hdr image to non-hdr image
Replies: 7
Views: 203

Re: Convert hdr image to non-hdr image

dkrikun0 wrote:The conversion needs to be "viewer-friendly", that is the resulting image needs be contrast, without cutting off information etc.
I don't really understand your question. Perhaps "-auto-level" does what you want.
by snibgo
2019-06-24T08:31:58-07:00
Forum: Users
Topic: Convert hdr image to non-hdr image
Replies: 7
Views: 203

Re: Convert hdr image to non-hdr image

It seems that IM is writing rose.pgm as 32 bits/channel. (Just one channel, of course.) Gimp can't read the result.

If we insert "-depth 16" before writing, Gimp can read it fine.

Does that help?
by snibgo
2019-06-24T07:44:29-07:00
Forum: Users
Topic: Convert hdr image to non-hdr image
Replies: 7
Views: 203

Re: Convert hdr image to non-hdr image

Please link to a sample input.
by snibgo
2019-06-24T06:07:43-07:00
Forum: Users
Topic: [SOLVED] drawing line using relative coordinate like 'bottom left'
Replies: 6
Views: 195

Re: drawing line using relative coordinate like 'bottom left'

What version of IM, on what platform?

I suggest you use IM v7, with "magick". Then your parameters to circle can be "%[fx:...]" expressions.
by snibgo
2019-06-24T06:06:01-07:00
Forum: Users
Topic: Convert hdr image to non-hdr image
Replies: 7
Views: 203

Re: Convert hdr image to non-hdr image

Does "-auto-level" do what you want? If not, please link to a sample input, and say what output you want.
by snibgo
2019-06-24T06:04:14-07:00
Forum: Users
Topic: Change background color
Replies: 4
Views: 241

Re: Change background color

You can restrict operations to just the RGB channels:

Code: Select all

magick bard-1.png -channel RGB +level-colors black,#ddf +channel out.png
by snibgo
2019-06-22T08:27:07-07:00
Forum: Users
Topic: Find images that are not sRGB (Black/White/Colorless)
Replies: 1
Views: 108

Re: Find images that are not sRGB (Black/White/Colorless)

I suppose you mean that you use "identify -verbose"? That does more work than you need, so you could do it more quickly. Is your IM HDRI? If it is, and you don't have floating-point images, then you could use an integer IM for faster speeds. If many of your image files are not sRGB or do not have th...
by snibgo
2019-06-21T14:21:10-07:00
Forum: Users
Topic: removing white background and have transparency instead of jagged edges
Replies: 3
Views: 218

Re: removing white from background while preserving transparency

Ignoring the logo bottom-right, Windows syntax:

Code: Select all

magick Xk9Wza0.png -negate ( +clone -fill Black -colorize 100 ) +swap -alpha off -compose CopyOpacity -composite out.png
by snibgo
2019-06-21T10:49:29-07:00
Forum: Users
Topic: Build problem
Replies: 8
Views: 363

Re: Build problem

I apologies, just want to check, so if I understand, there may be files outside of the 5 directories (bin/etc/include/lib/share) that are required of ImageMagick? No, as far as I know, IM's make doesn't create any files outside of those directories, ie the tree you defined by "prefix=". I suggest y...