Page 1 of 1

New on the forun amd my first question

Posted: 2015-08-11T02:30:06-07:00
by evilaro
Hi:

Sorry I did not found a place to present myseft... maybe it is not
required.

So to the point, my first question.

I use windows 7

I use IM to rotate, crop, resize my images.

But erery time I activale the convert .exe
a window shows up.

Is there a way to make it NOT to show
this window.

I have look for something similar to -silent or -quiet
but do not seem to be it.

Thanks

Emilio

Re: New on the forun amd my first question

Posted: 2015-08-11T03:15:10-07:00
by snibgo
How do you activate convert.exe?

I normally run convert.exe from the command line or a script. If you use "drag and drop", and you use conhost, I don't think you can stop the window from appearing (but with "properties", perhaps you can minimise it). If you use mintty, you may be able to hide it.

Re: New on the forun amd my first question

Posted: 2015-08-11T03:34:49-07:00
by evilaro
Hi snibgo:

Thanks for the fast reply.

I use something like this

RUN convert morig.jpg -rotate +90 morig_rotado.jpg

What is mintty?

Thanks, much apreciated

Emilio

Re: New on the forun amd my first question

Posted: 2015-08-11T04:05:30-07:00
by snibgo
evilaro wrote:I use something like this

RUN convert morig.jpg -rotate +90 morig_rotado.jpg
From the start menu, I suppose? You might find it easier to open a command window, and type commands there (without "RUN").

mintty is the command window that comes with Cygwin. It has a few more features than the Microsoft Windows command window. "tty" = Teletype, which is what we used before personal computers, and even before VDU screens.

But I suggest you don't get involved with Cygwin until you understand Windows command windows.

Re: New on the forun amd my first question

Posted: 2015-08-11T04:31:10-07:00
by Bonzo
I create batch files and drop my photos over the batch file icon but still get a command box window open and close. I suppose this is what you are talking about Emilio? I seem to remember seeing a post about this a few years ago but can not remember the outcome.

Re: New on the forun amd my first question

Posted: 2015-08-11T04:41:06-07:00
by evilaro
Bonzo:

Yes, this is what I am talking about.

For me it is very annoying trying to get some data from a image and that on top of my image it shows this window.

But if there is no solution... well, then there is no solution.

Thanks

Emilio

Re: New on the forun amd my first question

Posted: 2015-08-17T16:21:10-07:00
by rossdv8
Try putting the batch file in a folder, copying the image to that folder then clicking the batch file to run it. There's a slim possibility running the batch file directly in the same folder as the image might skip opening the window.

Re: New on the forun amd my first question

Posted: 2015-08-17T17:11:44-07:00
by snibgo
Yes, you can hide the window by using mintty. For example, create a desktop icon with whatever "Start in" directory you want, and "Target" set to:

Code: Select all

C:\cygwin64\bin\mintty.exe --hold error --window hide --e cmd /C c:\im\ImageMagick-6.9.1-6\convert logo: x.png
But the question is about systems configuration under Windows, and ImageMagick is incidental.