How to run gmic from command line cmd windows gimp - windows

I am looking up on the Internet for hours and can't get to how to execute a command on the command prompt that does something out of gimp files and furthermore get to apply filters to images with gmic, I managed to do it all well with Image Magick, using the convert command, it just works, but for gmic I try on cmd
gimp -b -
as stated on their website's documentation: http://www.gimp.org/tutorials/Basic_Batch/
But no, it pops:
'gimp is not recognized as an internal or external command, operable program or batch file.
Am I asking something very dumb, I really don't know what I am doing wrong, maybe I am missing some steps, the error gives me a clue as if I had to create a file for the gimp command to work other than have succesfully installed it in Windows.
I'm on Windows 8 64 bit by the way. Enterprise edition.
Thanks very much for any help.
Gimp installed 2.8.2
gmic installed 1.5.3

If your goal is only to apply a G'MIC effect on an image, why not using the command-line interface 'gmic' of the G'MIC project, instead of trying doing that through the plug-in for GIMP ? The G'MIC project provides a command-line interface 'gmic' for his tool, so it should be less difficult to use I guess + you won't have the limitations due to GIMP (8bits processing e.g, as 'gmic' is able to process 16bits images).

The command line interface does not know where gimp is all by itself. Either call it with the full path, something like C:\Program Files\Gimp\gimp.exe -b -, or add the directory that contains gimp to your %PATH% system variable.

Related

zip/compression command under Windows environment for COBOL program

I need to issue a zip/compression command from a COBOL program running on Windows platform, is there any built-in Windows specific command line command to zip the list of specified files, I cannot rely on 3rd party zip tools like winzip or 7zip.
I have tried compact command, is there any other alternatives to achieve this? please suggest.
Use zip.exe and unzip.exe available from http://www.info-zip.org/. The windows binaries can be downloaded directly from http://sourceforge.net/projects/infozip/files/.

I want to view a .ps file through Ghostscript 9.05 command prompt

I have a file abc.ps on my desktop. I have installed Ghostscript 9.05 on my machine and I want to view my abc.ps file using the command line.
GS>?????
What command should I write here. I am working on Windows 7.
Location of exe file: C:\Program Files\gs\gs9.05\bin
From the Ghostscript documentation:
GS> (c:/gs3.53/example.ps)
Just looks like you use forward slashes instead of back slashes. For example, if your Windows username is Ankit, you'd enter:
GS> (c:/Users/Ankit/Desktop/abc.ps)
You can avoid the interactive GS> commandprompt by running the command like this:
gswin32c.exe -sDEVICE=display c:/Users/Ankit/Desktop/abc.ps
Download and install Ghostview after installing Ghostscript, it is a GUI interface for Ghostscript:
http://pages.cs.wisc.edu/~ghost/gsview/get50.htm
Note: Be sure you download the same architecture. I.e. if you downloaded and installed 64 bit ghostscript, make sure you also download and install 64 bit Ghostview.

Cucumber not showing coloured output in windows

this is probably something really stupid but I can't work it out.
I upgraded my version of cucumber to v 0.10.0 and now the test's (running on Win 7) are not showing coloured output with the "pretty" formatter.
When tests are run it prints this error: *** WARNING: You must use ANSICON 1.31 or higher (http://adoxa.110mb.com/ansicon) to get coloured output on Windows
I have been to http://adoxa.110mb.com/ansicon but it's not obvious to me how I should be upgrading it. Anyone know how to upgrade my version of anscion?
One of the dev's at my work figured it out.
You need to
Download Ansicon from https://github.com/adoxa/ansicon/downloads and unzip it into a directory
with no spaces
Open a command prompt and cd to the folder where you unzipped it
Now, cd into either x86 or x64 (depending on your machine’s processor) and install it globally on
your machine (For example, D:\Cucumber\ansi160\x64)
Type ansicon.exe –i OR ansicon -i and press Enter
Any program that prints ANSI colors will now display properly on your machine.
Update as of today, http://adoxa.110mb.com/ansicon is no longer accessible.
Files have been uploaded to https://github.com/adoxa/ansicon/downloads.
I tried downloading from adoxa.3eeweb.com, but Chrome warned me that the file was "not commonly downloaded and could be dangerous."
So I opted with the file from github.
Besides that, I just followed the steps mentioned above and my output is now coloured.

How do I get color coded console output from SBT on Windows?

I'm using SBT (Simple Build Tool) to build my Scala projects on Windows. I've seen that one of my friends, that runs OSX, gets color coded output in his terminal windows when running SBT, but mine is just the same color everywhere. Is there any way to enable this for Windows?
For DOS shell, check out ansicon
download page
type in the DOS shell:
ansicon -i
(If the above links don't work too well, aeracode mentiones in the comments this address)
(this picture is not from a sbt session but illustrates colors within a DOS session)
One way would be to install a POSIX-layer like MinGW or Cygwin and add -Djline.terminal=jline.UnixTerminal as a parameter to java to your sbt startup script.
I do not know if JLine supports colored output on Windows natively though.
I was able to get color output on windows by using Minnty with Cygwin. See the following question for the script to execute sbt from minnty
how to get specs2 color support on windows using mingw and sbt

Is it possible to unzip .ZIP file using .BAT command on Windows XP?

Is it possible to unzip .ZIP file using .BAT command on Windows XP? we have file.zip how to create a .BAT commands file to unzip\unpack it to some folder. USING ONLY NATIVE WINDOWS XP programms and commands.
So.. How to do such thing? (code example, please)
Yes.
But it involves using "scripting" and the use of System.FileSystemObject (a good keyword). You should be able to use cscript/WSH which can run VBScript or JScript (WSH 5.6 comes with XP). The general idea is here. There are some other interesting "issues" with this approach though; the operations runs asynchronously and the compression dialog box may appear -- but it can be done using standard XP tools.
I would recommend downloading 7-zip. It is a 200~400k standalone command-line executable (depending on version), but it requires an initial "install" to grab the executable first. You don't need the GUI to run 7-zip.
Short answer: No.
Explanation: https://serverfault.com/questions/39071/does-windows-have-a-built-in-zip-command-for-the-command-line
No, there is no command line support for the native zip/unzip library that comes with windows XP. The only solution would be to use a uncompressing library.

Resources