Search found 10931 matches

by snibgo
2018-12-10T01:40:44-07:00
Forum: Bugs
Topic: 'magick-*' files increase disk space on Image::resize hang or failure
Replies: 4
Views: 101

Re: 'magick-*' files increase disk space on Image::resize hang or failure

Your operating system contains tools to monitor memory and disk access by processes. What do they tell you? Perhaps your operation needs more memory than you have available, so IM uses disk for pixel caches. Disk is far slower than memory. How many pixels does the input image have? How much physical...
by snibgo
2018-12-08T21:36:16-07:00
Forum: Developers
Topic: Im4java in java
Replies: 3
Views: 77

Re: Im4java in java

"depth(8)" will reduce the image to 8 bits/channel/pixel. Perhaps you want "-type Palette". Some other function will do that. Sorry, I don't know IM for Java.
by snibgo
2018-12-08T12:48:06-07:00
Forum: Users
Topic: Is there an efficient way to read back metadata of an output image?
Replies: 3
Views: 68

Re: Is there an efficient way to read back metadata of an output image?

The information you get is metadata about the image in memory. This includes some info about where the image came from eg PNG. IM doesn't give much information about files or what is stored in them. If you want metadata about the JPG file that has been written, exiftool is probably a better tool for...
by snibgo
2018-12-08T11:25:58-07:00
Forum: Users
Topic: Is there an efficient way to read back metadata of an output image?
Replies: 3
Views: 68

Re: Is there an efficient way to read back metadata of an output image?

What version of IM? I think you mean that when you are writing an image to a file, you also want to write the "identify -verbose" text information. If so, then simple insert "-verbose +write info: -verbose" before your output filename. If you want more limited information you can "-format XXX +write...
by snibgo
2018-12-08T10:45:53-07:00
Forum: Users
Topic: ImageMagick >6.7 : How convert any image (.png) to sRGB colorspace properly?
Replies: 2
Views: 67

Re: ImageMagick >6.7 : How convert any image (.png) to sRGB colorspace properly?

It's not a simple problem. I suggest the following: 1. If the image has an embedded ICC profile, convert it with "-profile" to an sRGB profile. There are plenty to choose from, all slightly different. Whichever one you choose, leave it embedded, don't "-strip" it. The job is done. 2. There is no emb...
by snibgo
2018-12-08T10:25:48-07:00
Forum: Developers
Topic: Im4java in java
Replies: 3
Views: 77

Re: Im4java in java

Im IM, "depth" means "pixels per channel per pixel". In some other programs, it means "total bits per pixel".
by snibgo
2018-12-07T09:49:41-07:00
Forum: Users
Topic: Add Auto sized text to rectangle area of image
Replies: 22
Views: 397

Re: Add Auto sized text to rectangle area of image

I would do that by writing the text with "-background None", which means transparent. Clone this, and make that image the gradient. Composite the text image over the gradient image. Then append that to the input image. %IMG7%magick ^ testing2.png ^ -size 200x%%[fx:h] ^ -background None ^ caption:"Th...
by snibgo
2018-12-07T07:11:18-07:00
Forum: Users
Topic: Add Auto sized text to rectangle area of image
Replies: 22
Views: 397

Re: Add Auto sized text to rectangle area of image

Hyphenation would be a useful enhancement. However, it requires a dictionary of words marked with all possible hyphenation points, and one dictionary is required per language, and we would need to tell IM what language is being used.

For that, more specialist typography software might be needed.
by snibgo
2018-12-07T06:47:26-07:00
Forum: Developers
Topic: When did floodfill syntax change?
Replies: 1
Views: 50

Re: When did floodfill syntax change?

See my bug report viewtopic.php?f=3&t=34636&sid=86fd4ba8c ... dbc869a407

I haven't downloaded a fixed version, so can't confirm your finding. Please post a reproducible example, with input images (if any) and output images.
by snibgo
2018-12-07T06:43:01-07:00
Forum: Users
Topic: Add Auto sized text to rectangle area of image
Replies: 22
Views: 397

Re: Add Auto sized text to rectangle area of image

The bad (maybe it sizes the text and stops when it cannot go bigger without a word fitting on 1 line? http://www.pragmaticea.com/PF2/components/images/o000470.png What is bad about that? The text cannot be larger, as you say. Would you prefer it smaller? IM records the pointsize it used in property...
by snibgo
2018-12-07T06:20:19-07:00
Forum: Bugs
Topic: 'magick-*' files increase disk space on Image::resize hang or failure
Replies: 4
Views: 101

Re: 'magick-*' files increase disk space on Image::resize hang or failure

What version of IM? My guess is that you had a failure that IM couldn't recover from (perhaps out of memory), so it crashed or was killed by the OS, so didn't have a chance to delete its temporary files. The cure is to regularly delete files in %TEMP%. Other software also leaves files in %TEMP%. You...
by snibgo
2018-12-07T06:06:50-07:00
Forum: Bugs
Topic: Convert UTF-8 textfile runtime bug
Replies: 3
Views: 79

Re: Convert UTF-8 textfile runtime bug

I guess you use Windows, and your file was saved with a "Byte Order Mark" header. If so, the cure is to use software that doesn't write a BOM, or to strip the BOM after the file is saved.
by snibgo
2018-12-06T12:04:29-07:00
Forum: Users
Topic: Add Auto sized text to rectangle area of image
Replies: 22
Views: 397

Re: Add Auto sized text to rectangle area of image

I said I assume you are running this as a BAT script, which is why % needs to be doubled to %%.

I suspect you are not running this as a BAT script, but have still doubled the %%.
by snibgo
2018-12-06T11:45:58-07:00
Forum: Users
Topic: Add Auto sized text to rectangle area of image
Replies: 22
Views: 397

Re: Add Auto sized text to rectangle area of image

Your size setting is different to mine. Yours isn't valid syntax. Your image testing2.png is only 888 pixels wide, so drawing a rectangle starting at 889,0 won't do anything. If you want a coloured bckgound to the text, I suggest you use "-background", eg: %IMG7%magick ^ testing2.png ^ -size 200x%%[...
by snibgo
2018-12-06T11:13:33-07:00
Forum: Magick.NET
Topic: Merging .dds (greyscale) Alpha / Transparency
Replies: 3
Views: 137

Re: Merging .dds (greyscale) Alpha / Transparency

At the command line, "-background None" will set it for all following operations. I don't use Magick.NET, but I don't think it works in the same way, so you need to set it for each individual image.