Search found 12163 matches

by snibgo
2013-09-01T07:38:54-07:00
Forum: Users
Topic: Some help pls w/ command line text lables
Replies: 8
Views: 6171

Re: Some help pls w/ command line text lables

I doubt that you need pango. "-annotate" may be best; see http://www.imagemagick.org/Usage/text/#annotate and the rest of that page. You will use "-resize" to resize your png image, and probably "-border" to add borders. "-append" may also be useful. For the o...
by snibgo
2013-09-01T06:39:09-07:00
Forum: Users
Topic: Some help pls w/ command line text lables
Replies: 8
Views: 6171

Re: Some help pls w/ command line text lables

That looks simple enough. I'd start by building it up the code, piece by piece. How far have you got already? Anything you don't understand? Or do you want someone to do it all for you?
by snibgo
2013-08-30T13:24:26-07:00
Forum: Users
Topic: enable 0r disable OpenMP
Replies: 14
Views: 17241

Re: enable 0r disable OpenMP

On a Windows 7 laptop with two cores, IM with OpenMP, I find that simple converts taking under a second work faster with threads limited to 1. Longer jobs run faster without limiting threads.
by snibgo
2013-08-30T13:11:01-07:00
Forum: Users
Topic: Overlay SVG image onto JPEG (watermark)
Replies: 3
Views: 7906

Re: Overlay SVG image onto JPEG (watermark)

The converted SVG image has no transparency because, by defalt, IM puts it on an opaque white background. Defeat this by putting "-background none" before the SVG file. The only transparency occurs in the top corners. You might choose a different "-compose" operation. Perhaps &qu...
by snibgo
2013-08-29T14:07:28-07:00
Forum: Users
Topic: How to just rename each image in a folder
Replies: 8
Views: 9133

Re: How to just rename each image in a folder

It's a scripting problem, using whatever command your shell uses to rename files. The hardest part is probably inventing the new names, ensuring they don't already exist. Quite simple in Windows, as files also have 8.3 names (at least, up to Windows 7; I don't know about Windows 8 ).
by snibgo
2013-08-29T13:52:34-07:00
Forum: Users
Topic: How to just rename each image in a folder
Replies: 8
Views: 9133

Re: How to just rename each image in a folder

ImageMagick reads images and writes them. It would be highly inefficient to do this when you just want to rename them.
by snibgo
2013-08-29T11:53:30-07:00
Forum: Users
Topic: Using Registration Marks To Crop?
Replies: 9
Views: 3120

Re: Using Registration Marks To Crop?

If forms have different barcodes, finding them is a messy problem. It's much easier to find something that is invariant between the forms.

You can also use registration marks to detect whether, for example, a scanned form is inverted.
by snibgo
2013-08-29T11:38:26-07:00
Forum: Users
Topic: Do i need all 50 MB of ImageMagick?
Replies: 8
Views: 6688

Re: Do i need all 50 MB of ImageMagick?

For the smallest footprint that includes all the tools (convert, identify, compare, etc), the dll version will be smaller than the static version because code that is shared between the tools won't be duplicated.
by snibgo
2013-08-29T11:20:52-07:00
Forum: Users
Topic: Using Registration Marks To Crop?
Replies: 9
Views: 3120

Re: Using Registration Marks To Crop?

Printing your own registration marks seems the obvious route. They need to be different to anything else on the form. You can then subimage-search for the marks, distort and crop. Searching can take a long time, but two techniques improve performance: (a) search small (cropped) areas of the form and...
by snibgo
2013-08-29T09:45:42-07:00
Forum: Bugs
Topic: Problem when convert from PDF to JPG on 64bit OS
Replies: 1
Views: 2639

Re: Problem when convert from PDF to JPG on 64bit OS

A more recent IM and Ghostscript fails on that PDF file.

A reasonably current Adobe Reader X v10.1.7 can't read it either.
by snibgo
2013-08-28T11:58:49-07:00
Forum: Users
Topic: enable 0r disable OpenMP
Replies: 14
Views: 17241

Re: enable 0r disable OpenMP

I know nothing about Mac or threads, but "-limit threads 1" might do what you want. See references to "thread" on http://www.imagemagick.org/script/comma ... ptions.php
by snibgo
2013-08-28T10:41:08-07:00
Forum: Bugs
Topic: Masking Path problem with some IM versions
Replies: 6
Views: 2885

Re: Masking Path problem with some IM versions

Reading posts on these forums about "unassociated" makes me strongly suspect this is the difference. Modern versions of IM can: identify -quiet -format "%[tiff:alpha]" transparent.tif This returns nothing or "associated" or "unassociated". You may find that te...
by snibgo
2013-08-28T07:34:29-07:00
Forum: Bugs
Topic: Masking Path problem with some IM versions
Replies: 6
Views: 2885

Re: Masking Path problem with some IM versions

How could I know if I have to add "-alpha off" for a picture and not for a simple file where I'd like to keep the transparency. For some files, the alpha is important and you want to keep it. For others, like this one, you want to remove it. You need to find what chacteristic determines w...
by snibgo
2013-08-27T19:33:57-07:00
Forum: Users
Topic: Identify returns BLANK info - 2008 R2 COM+
Replies: 3
Views: 1476

Re: Identify returns BLANK info - 2008 R2 COM+

The post I linked to links to the escapes.
by snibgo
2013-08-27T18:35:01-07:00
Forum: Users
Topic: Identify returns BLANK info - 2008 R2 COM+
Replies: 3
Views: 1476

Re: Identify returns BLANK info - 2008 R2 COM+

Getting Started - a newbie's take, and the rest of that forum, may be helpful.