Search found 289 matches

by whugemann
2011-04-29T13:19:12-07:00
Forum: Users
Topic: How to reset -region?
Replies: 8
Views: 17133

Re: How to reset -region?

Sorry, but I suspected that there is nothing like a "+region" option in ImageMagick. (I erroneously wrote "+reset" instead.) The Command Line Options page does not tell anything about there being a +region option. IM definitively crashes each time you use +region under Windows. T...
by whugemann
2011-04-29T13:03:16-07:00
Forum: Users
Topic: Would you like a Windows GUI interface for IM
Replies: 20
Views: 71657

Re: Would you like a Windows GUI interface for IM

When developing a GUI for ImageMagick, you should take a look on AvsP, *the* editor for AVIsynth scripts, which nicely demonstrates how a GUI editor can simplify matters. To my taste, a GUI interface to ImageMagick should function pretty much like AvsP. But I rather think that an OS-dependent GUI do...
by whugemann
2011-04-29T12:51:38-07:00
Forum: Users
Topic: "Identifying" JPEG 2000
Replies: 0
Views: 3719

"Identifying" JPEG 2000

I have a JPEG 2000 image that I would like to analyse in some more detail. Most of all, I would like to know whether it was encoded losslessly. What makes me suspect this is that the JPEG 2000 version of the image (encoded as greyscale with 12 bit depth) is only slightly smaller than the 16-bit PNG ...
by whugemann
2011-04-22T09:20:46-07:00
Forum: Users
Topic: How to reset -region?
Replies: 8
Views: 17133

Re: How to reset -region?

I just have had a stroke of genius ;-)
The solution is pretty simple: The option -region 100x100%+0+0 will select the entire image!
Wolfgang Hugemann
by whugemann
2011-04-22T08:38:30-07:00
Forum: Users
Topic: file timestamp in image
Replies: 6
Views: 29161

Re: file timestamp in image

I wonder what you mean by "time stamp". Do you want to write it as text onto the image? (I first understood that you wanted to insert EXIF data or something. This is why I asked for the image format.) If so, you will find many hints at http://www.imagemagick.org/Usage/annotating, and http:...
by whugemann
2011-04-22T04:46:35-07:00
Forum: Users
Topic: .bat wont run
Replies: 5
Views: 11610

Re: .bat wont run

I would check whether the filename is in the list via TYPE piclist.txt | FIND %%I IF ERRORLEVEL ... ERRORLEVEL will only be zero if the string is found. This seems to be an easier approach to the problem. Moreover, I would recommend that you develop the batch file step by step, first testing the cro...
by whugemann
2011-04-22T04:33:25-07:00
Forum: Users
Topic: file timestamp in image
Replies: 6
Views: 29161

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: 17133

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: 11610

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: 7515

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: 60689

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: 7515

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: 60689

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: 31853

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: 5554

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