Search found 283 matches

by whugemann
2011-04-22T04:33:25-07:00
Forum: Users
Topic: file timestamp in image
Replies: 6
Views: 24594

Re: file timestamp in image

What kind of image format are you dealing with? JPEG? (Because you spoke of EXIF.)

Wolfgang Hugemann
by whugemann
2011-04-22T04:31:30-07:00
Forum: Users
Topic: How to reset -region?
Replies: 8
Views: 14613

How to reset -region?

I am applying histogram corrections to three regions of the same image. After that, I want to draw a polyline onto the result. The code in the Windows batch file looks like this: convert %%~na-1.jpg ^ -region %WIDTH%x%STRIP%+0+0 -normalize ^ -region %WIDTH%x%IHEIGHT%+0+%STRIP% -contrast-stretch 2,0%...
by whugemann
2011-04-21T02:43:09-07:00
Forum: Users
Topic: .bat wont run
Replies: 5
Views: 10023

Re: .bat wont run

Your question is more about Windows Batch file processing than about ImageMagick. And seeing this code doesn't make me believe that you are a coding novice. If you pass the filenames via the command line, it should however be FOR %%A in (%*) DO with a single percent sign, see http://www.imagemagick....
by whugemann
2011-04-18T13:34:49-07:00
Forum: Users
Topic: Performing a script based on a selection
Replies: 3
Views: 6377

Re: Performing a script based on a selection

Anthony, I understood your first approach, in which you used -trim to determine the geometry of the red box. I think this is basically what I need, because I then have the geometry of the selection and can extract it from the output of Identify. And I don't mind the script producing some interim res...
by whugemann
2011-04-18T09:46:08-07:00
Forum: Users
Topic: Batch Convert Multi-page PDF(s) to Multi-page Tiff(s)
Replies: 18
Views: 51569

Re: Batch Convert Multi-page PDF(s) to Multi-page Tiff(s)

I really don't understand the fuzz. We are converting PDFs to TIFFs and JPEGs with IM on a regular basis. And it is just as easy as skeched by me. Give me a link to your four pages PDF and I will give it a try.

Wolfgang
by whugemann
2011-04-17T05:18:18-07:00
Forum: Users
Topic: Performing a script based on a selection
Replies: 3
Views: 6377

Performing a script based on a selection

Hi, I would like to manipulate an image like this: http://www.unfallrekonstruktion.de/bilder/Example.JPG that is I would like to make a selection on a larger photograph, scale it down and insert the original version of some section of the image as a detail enlargement. I am working under Windows and...
by whugemann
2011-04-17T05:01:11-07:00
Forum: Users
Topic: Batch Convert Multi-page PDF(s) to Multi-page Tiff(s)
Replies: 18
Views: 51569

Re: Batch Convert Multi-page PDF(s) to Multi-page Tiff(s)

You are making things too complicated.

convert test.pdf test.tif

will already convert the PDF into a multipage TIFF, with no need for interim steps.

Wolfgang Hugemann
by whugemann
2011-04-06T00:35:26-07:00
Forum: Users
Topic: How to write command line output to text file?
Replies: 13
Views: 22736

Re: How to write command line output to text file?

Example do not detail the handling of standard error output in windows. If there even is such a concept in BAT scripts. The example demonstrates how you read stdout of a DOS command into VBScript. You can then perform the testing of the value within VBScript and act upon the result. So I think that...
by whugemann
2011-04-05T13:20:53-07:00
Forum: Users
Topic: convert PDF highres to PDF lowres file
Replies: 1
Views: 4513

Re: convert PDF highres to PDF lowres file

IM is not the right tool to do this. The easiest way to perform this task is to print the PDF via a PDF printer driver set to low resolution. This will leave vector objects and fonts untouched an re-calculate any raster graphics.

Wolfgang Hugemann
by whugemann
2011-04-05T13:16:42-07:00
Forum: Users
Topic: How to write command line output to text file?
Replies: 13
Views: 22736

Re: How to write command line output to text file?

lizac wrote:Hi! Your code is what i needed... Do you know how to convert it in vbscript?
See http://www.imagemagick.org/Usage/windows/#vb_example how you cann read the result of an operation into a VBScript.

Wolfgang Hugemann
by whugemann
2011-04-05T02:41:24-07:00
Forum: Users
Topic: -level option (under Windows?)
Replies: 5
Views: 10921

Re: -level option (under Windows?)

Anthony, I see the point in your arguing. Possibly this would only need some more explaination in the documentation. (I should have looked up what "quantum range" means; I believed it to be a strange word for "colour depth"!) I have performed huge amounts of histogram corrections over the last 15 ye...
by whugemann
2011-04-01T00:46:44-07:00
Forum: Users
Topic: -level option (under Windows?)
Replies: 5
Views: 10921

Re: -level option (under Windows?)

I agree now that IM's behaviour in in agreement with the documentation, but does it coincide with what the user (me) would expect? If I want to make a histogram correction, I have probably analized the input file(s) beforehand. If they have a colour depth of 8 bit, I will have noted 8 bit values for...
by whugemann
2011-03-28T07:42:31-07:00
Forum: Users
Topic: -level option (under Windows?)
Replies: 5
Views: 10921

-level option (under Windows?)

Having been active on the mailing list for some time, I now try the "new" board for the first time: I think there is a bug in the -level option when using fixed values as command line parameters for 8 bit images in the 16 bit versions of IM: Convert -size 256x256 -depth 8 -colorspace gray gradient: ...