Search found 47 matches

by spieler
2007-02-26T10:50:13-07:00
Forum: Developers
Topic: `identify -verbose -ping` now runs slow
Replies: 3
Views: 17066

Re: `identify -verbose -ping` now runs slow

Wow, you people are quick!

Is there any chance of still making identify a little smarter so it does run quicker? I miss getting the verbose information quickly.

For now, I'd be content in hearing it's at least somewhere on your to do list.

Thanks,
Gary
by spieler
2007-02-26T09:38:06-07:00
Forum: Developers
Topic: `identify -verbose -ping` now runs slow
Replies: 3
Views: 17066

`identify -verbose -ping` now runs slow

In previous versions, when identify was called with -ping and -verbose at the same time, the whole verbose listing was displayed but some of the information like number of colors, etc. was incomplete because -ping caused it to run really fast! I'm trying to determine if a tiff is a monochrome image....
by spieler
2006-10-06T08:07:42-07:00
Forum: Developers
Topic: Unique Colors
Replies: 3
Views: 15394

I see that the number of values in the histogram does match the number of unique colors, but I'd rather not have to count them to find how many there are. To me it seems contradictory to state 256 colors when there are only 2 unique colors. After some digging, I know that's because of the LZW compre...
by spieler
2006-10-06T01:27:11-07:00
Forum: Developers
Topic: Unique Colors
Replies: 3
Views: 15394

Unique Colors

I have a tiff file with LZW compression. When I do an identify -verbose on it I get Colors: 256. When I do an identify -format %k on it, I get 2. Another software program also reports 256, so I'm assuming that's more or less what the LZW compression gives (at least in this case). Would it be possibl...
by spieler
2006-10-06T00:50:25-07:00
Forum: Users
Topic: Creating a fax compatible tiff
Replies: 4
Views: 13735

Try using -monochrome after the -density and -resize options. Since these are operators, when monochrome is done first, it gets converted fine. Next, when -density is done, it may actually convert the monochrome image to grayscale or color. Since it is no longer monochrome, then compression cannot b...
by spieler
2006-08-30T09:12:26-07:00
Forum: Users
Topic: Tiff split
Replies: 1
Views: 8877

Tiff split

I have a 74 page tiff file that I want to split into individual pages. It's currently at 256 colors with LZW compression. From my understanding, if I do convert a.tif b%03d.tif it will load all pages as uncompressed tiffs into memory and once that is done it will output one page at a time. That's a ...
by spieler
2006-08-30T08:27:22-07:00
Forum: Users
Topic: identify, input string
Replies: 1
Views: 10767

On second thought, standard in works more like

Code: Select all

  $cmd = 'echo ' . $img . ' | /usr/local/bin/identify -format "%x,%y" -';
I just tried
cat a.gif | identify -format "%x,%y" -
and it worked great.
by spieler
2006-08-29T11:37:36-07:00
Forum: Users
Topic: identify, input string
Replies: 1
Views: 10767

If you want to read the image from standard in, you need to use a hyphen. You should be able to do something along the lines of identify -format "%x %y" gif:- $stringContentOfImage You may be able to specify just the "-" without the whole "gif:-", but I don't know that ...
by spieler
2006-08-23T08:27:53-07:00
Forum: Users
Topic: monochrome, resample, and compress - why does order matter?
Replies: 3
Views: 12307

First, Anthony, thanks for your web page (which I've referenced numerous times) and for all your posts on the forum. In the documentation at http://www.imagemagick.org/script/command-line-processing.php#setting it says that -monochrom is a setting. If this is an operator as you say it is and as I se...
by spieler
2006-08-18T12:37:44-07:00
Forum: Users
Topic: monochrome, resample, and compress - why does order matter?
Replies: 3
Views: 12307

monochrome, resample, and compress - why does order matter?

I have a monochrome tiff that I want to resample to a lower resolution. If I do "convert a.tif -resample 100x100 -monochrome -compress group4" it works as I expect producing a monochrome tiff with group4 compression. If I do "convert a.tif -monochrome -compress group4 -resample 100x10...
by spieler
2006-08-10T14:08:27-07:00
Forum: Bugs
Topic: identify -verbose -ping on win32 memory error
Replies: 3
Views: 18607

It worked previously in v6.2.6 or so. It's nice to do that when I want density, etc., but don't need all the color info. As a side, it would be nice to not have the color info, etc. displayed when it hasn't been properly populated.
by spieler
2006-08-10T10:24:02-07:00
Forum: Bugs
Topic: identify -verbose -ping on win32 memory error
Replies: 3
Views: 18607

identify -verbose -ping on win32 memory error

When I run "identify -verbose -ping a.jpg" on W2K with v6.2.8 08/02/06 (the current installation file) I get a memory could not be "written" error.
This happens after the Geometry is displayed and before the Type is displayed. Without -ping it works fine.

Thanks,
Gary
by spieler
2006-03-28T16:27:48-07:00
Forum: Developers
Topic: Useless Breakpoint (Int 3) in ImageMagickObject.dll ???
Replies: 0
Views: 11334

In contrib/win32/ATL7/ImageMagickObject/ImageMagickObject.cpp at lines 1000 and 1108, there is a DebugBreak() statement. When I set some debugger settings (Global Flags -- gflags.exe from MS) and run convert from a vb application using ImageMagickObject.dll, I receive the error number -2147215503 an...
by spieler
2006-03-23T16:10:03-07:00
Forum: Windows COM+ & Visual Basic
Topic: Heap Corruption
Replies: 2
Views: 21986

I actually just tried the ArrayTest.vbs file on my newly installed 6.2.6-5. I had been getting this error on 6.2.6-1, so thought I'd upgrade just in case. On a reboot, I'm still getting. http://spieler.freeshell.org/IM/imageMagickErrorWSH.jpg Anyone else have this issue? I'll also try it on my home ...
by spieler
2006-03-23T10:58:02-07:00
Forum: Windows COM+ & Visual Basic
Topic: Heap Corruption
Replies: 2
Views: 21986

Heap Corruption

I likewise was getting occasional errors from my VB application that uses the ImageMagickObject. After talking with Microsoft, we put a debugger on the code and it was producing heap corruption. I decided to run the debugger on MagickCMD.exe and it did the same thing. The command I ran was simply Ma...