Search found 295 matches

by whugemann
2011-05-01T02:55:09-07:00
Forum: Users
Topic: Would you like a Windows GUI interface for IM
Replies: 20
Views: 60710

Re: Would you like a Windows GUI interface for IM

I think there's more to it than just calling functions in a DLL. Ideally, the frontend should reproduce the look and feel of the OS it's running on. (Including simple things like the OK bottom placed at the *right* bottom of the dialog box on Apple computers.) And C# and .NET is *really* MS-specific...
by whugemann
2011-04-30T15:17:15-07:00
Forum: Users
Topic: Sparse Color as a Fill Operator Tutorial (shepard) on win32?
Replies: 9
Views: 15164

Re: Sparse Color as a Fill Operator Tutorial (shepard) on wi

There is a Windows version of SED, see http://www.imagemagick.org/Usage/windows/#conversion. Anyway, the original bash script would need some modification when transferred to the Windows/DOS environment, which is also explained in the same section of this webpage.

Wolfgang Hugemann
by whugemann
2011-04-30T05:31:51-07:00
Forum: Users
Topic: Discouraged
Replies: 2
Views: 5418

Re: Discouraged

At http://www.imagemagick.org/Usage/windows/#for_recursive you'll find a more or less ready-made example how to generate index prints in a Windows batch file, without having to compile anything. At the start of this webpage there are some general remarks on how to translate bash code to Windows batc...
by whugemann
2011-04-30T05:22:01-07:00
Forum: Users
Topic: How to reset -region?
Replies: 8
Views: 15015

Re: How to reset -region?

There was a small very recent bug fix for region. This seems to be the explanation. I have used ImageMagick 6.6.3-0 2010-07-01 Q16 (Windows) on the computer where I originally tested the code. On this computer convert logo: -region 100x100+100+100 -negate +region -negate logo.png causes ImageMagick...
by whugemann
2011-04-29T19:48:44-07:00
Forum: Users
Topic: Would you like a Windows GUI interface for IM
Replies: 20
Views: 60710

Re: Would you like a Windows GUI interface for IM

I've just had a look at NIP2, and it looks like one possible approach to the problem. (It also seems to offer a solution for another of my problems, i.e. handing a region selection over to IM.) I though would expect an IM GUI to be more like a programming editor that allows to instantly run the scri...
by whugemann
2011-04-29T19:17:52-07:00
Forum: Users
Topic: How to reset -region?
Replies: 8
Views: 15015

Re: How to reset -region?

I have tested the +region more thoroughly now, and found that Fred and Anthony are correct: +region resets any region settings (as I initially expected) and functions perfectly. I though still have to check what went wrong with it in my original script, where it made IM crash each time. I will come ...
by whugemann
2011-04-29T13:19:12-07:00
Forum: Users
Topic: How to reset -region?
Replies: 8
Views: 15015

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. This was my experienc...
by whugemann
2011-04-29T13:03:16-07:00
Forum: Users
Topic: Would you like a Windows GUI interface for IM
Replies: 20
Views: 60710

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

"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: 15015

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

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://www.imag...
by whugemann
2011-04-22T04:46:35-07:00
Forum: Users
Topic: .bat wont run
Replies: 5
Views: 10280

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

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

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

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....