Program to convert images

Tips for creating and manipulating planet textures for Celestia.
Topic author
duds26
Posts: 328
Joined: 05.02.2007
Age: 34
With us: 17 years 9 months
Location: Europe

Program to convert images

Post #1by duds26 » 18.12.2007, 18:38

I'm looking for a good program to convert images.

It must be:
- Free
- licensed under GPL or another license that states that the pictures I'm doing stuff with are mine, and that I can do anything that I want with it
- being able to set a directory for input

This stuff (batch conversion) isn't in the Gimp.
Last edited by duds26 on 14.04.2018, 18:01, edited 3 times in total.

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Re: Convert program to convert images

Post #2by t00fri » 18.12.2007, 18:56

duds26 wrote:I'm looking for a good program to convert images.

It must be:
- Free
- licensed under GPL or another license that states that the pictures I'm doing stuff with are mine, and that I can do anything that I want with it
- being able to set a directory for input

This stuff (batch conversion) isn't in the Gimp.


GIMP has of course batch support. But if you want to use another program, how about Nconvert from the XnView distribution. It's cross-platform and a very fast and versatile command-line utility.

Bye Fridger
Image

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Post #3by Christophe » 18.12.2007, 19:42

Not to forget ImageMagick, which in addition to pure CLI tools also provide bindings for a variety of languages.
Christophe

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #4by selden » 18.12.2007, 19:43

FWIW, I use ImageMagick and NetPBM
Selden

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Re: Convert program to convert images

Post #5by Christophe » 18.12.2007, 19:44

duds26 wrote:- licensed under GPL or another license that states that the pictures I'm doing stuff with are mine, and that I can do anything that I want with it


A program's license has no effect on the license of its output.

The license of the output is more generaly dependant on the license of the input.
Christophe

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Post #6by t00fri » 18.12.2007, 20:01

Christophe wrote:Not to forget ImageMagick, which in addition to pure CLI tools also provide bindings for a variety of languages.


ImageMagic is often buggy and VERY slow for LARGE images. It is simply UNSUITED for bigger tasks. If you want to read the respective confirmation by the IM author, please let me know ;-)

Bye Fridger
Image

Topic author
duds26
Posts: 328
Joined: 05.02.2007
Age: 34
With us: 17 years 9 months
Location: Europe

Post #7by duds26 » 18.12.2007, 20:11

Use XnView myself and it provides everything I need but it's only for private purposes.
(So I can't convert images with it and put them on the web like the BMNG)

In the GPL is explicitelly stated that all artwork made with a program is yours. In the licences of the programs like XnView not.

There has been some fuss around the photoshop license that had something in it that could be understood as all your pictures are propertie of Adobe! (It's already fixed in the actual version of Photoshop with patch.)

Gimp has only support for 8-bit (doesn't edit higher color depths), until the new GEGL-core is fully integrated,
but that is going to take a while.


So how do I batch support stuff with gimp from lets say png to tiff or png to jpg ?
Last edited by duds26 on 23.10.2008, 17:47, edited 4 times in total.

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Post #8by t00fri » 18.12.2007, 20:13

duds26 wrote:So how do I batch support stuff with gimp from lets say png to tiff or png to jpg ?


How about reading the tutorial??
With Nconvert you can easily convert whole directories full of images to the desired new format, WITHOUT reading a tutorial ;-)


Bye Fridger
Image

Topic author
duds26
Posts: 328
Joined: 05.02.2007
Age: 34
With us: 17 years 9 months
Location: Europe

Post #9by duds26 » 18.12.2007, 20:17

Because I can't find it back, that tutorial about batch converting images in Gimp.

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Post #10by t00fri » 18.12.2007, 20:18

duds26 wrote:Because I can't find it back, that tutorial about batch converting images in Gimp.

duds26 wrote:Use XnView myself and it provides everything I need but it's only for non-commercial purposes.

Are you a "commercial" guy? Then I have nothing to add...
You must ask your commercial colleagues.

Bye Fridger
Image

Topic author
duds26
Posts: 328
Joined: 05.02.2007
Age: 34
With us: 17 years 9 months
Location: Europe

Post #11by duds26 » 18.12.2007, 20:27

No, I'm not a commercial guy.
It says for private use only. Celestia is not-private and educational so I can't use it for converting the BlueMarbleNextGeneration and upload it to the web you see.
That's why I can't use it.


Nvonvert is a part of XnView.

Found about how to convert images in celestia forums, it isn't explained how to batch support things with gimp.

Gimp: Plugins needed, Gimp only supports it from command line.
Last edited by duds26 on 19.12.2007, 18:00, edited 4 times in total.

Topic author
duds26
Posts: 328
Joined: 05.02.2007
Age: 34
With us: 17 years 9 months
Location: Europe

Re: Convert program to convert images

Post #12by duds26 » 18.12.2007, 20:38

Christophe wrote:
duds26 wrote:- licensed under GPL or another license that states that the pictures I'm doing stuff with are mine, and that I can do anything that I want with it

A program's license has no effect on the license of its output.

The license of the output is more generaly dependant on the license of the input.


It is pretty common to claim rights on the output.

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Post #13by t00fri » 18.12.2007, 21:23

duds26 wrote:No, I'm not a commercial guy, just someone who doesn't like restrictions.


Virtually EVERY sensible license includes some restrictions. Notably the GPL2 license. Hence you should better NOT use Celestia! ;-)

Bye Fridger
Image

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Re: Convert program to convert images

Post #14by Christophe » 18.12.2007, 22:51

duds26 wrote:It is pretty common to claim rights on the output.


For image manipulation programs I'd say that's pretty rare. Who would use such a program?
Christophe

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

re

Post #15by John Van Vliet » 18.12.2007, 23:06

if i am converting everything in a folder then i will use imageMagick ( if it is not buggy and the images are smaller than 2048x2048 px. ) or i use netpbm
but in the past i have had no problems with this in cmd or in bash
mogrify -format png *.jpg
to convert all the .jpg images in a folder to png
but i have only needed to convert a whole folder (100+ images) 2 or 3 times
for a single image i will use Gimp or vip's magick++ usage to import the image into nip2

Topic author
duds26
Posts: 328
Joined: 05.02.2007
Age: 34
With us: 17 years 9 months
Location: Europe

Post #16by duds26 » 19.12.2007, 17:52

Imagemagick does not comes with visual interface and ready to run.
Need a ready-to-run on windows solution.

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Post #17by t00fri » 19.12.2007, 18:42

duds26 wrote:Imagemagick does not comes with visual interface and ready to run.
Need a ready-to-run on windows solution.


What is a "ready to run" program in your view??

IM has an installation script and uses a set of command line tools for batch operation. GUI programs are NOT suited for batch, in general. You were asking for batch conversion didn't you? Then you should not expect a visual interface.

Yet, IM also has a visual interface, called "display".
It can render all the MANY graphics formats that IM can read.

So what's your problem with IM? (Apart from the fact that you must be lucky to pick a version that is not buggy and that IM does not work well for large textures (>8k, say).

Bye Fridger
Image

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

re

Post #18by John Van Vliet » 19.12.2007, 22:07

as for the gui for ImageMagick under windows it works if MinGW and xfree86 (mingw-build) are installed from the bash shell
but the win installer is good and gives you the test to see if it works when the install is done
convert logo.miff logo.gif

then IM is " ready to use "
start / run / cmd.exe
then
cd c:\\( your folder) or c:\\Documents and Settings/Default User/My Documents

mogrify -format png *.jpg
to convert all the images in the folder

Topic author
duds26
Posts: 328
Joined: 05.02.2007
Age: 34
With us: 17 years 9 months
Location: Europe

Post #19by duds26 » 14.01.2008, 19:43

Used XnView to convert it.
Schrunk 1.Gb down to 300MB
Celestia runs much faster with that 300 than with the 1.5Gb.

Don't like CMD, always having to learn tons of commands.
With a GUI, it's intuitive.

Ready-to-run is:
- compiled with documentation
- in one handy .exe package
- and something I forgot
- and not to much cmd
Last edited by duds26 on 14.04.2018, 18:05, edited 2 times in total.

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

re

Post #20by John Van Vliet » 14.01.2008, 20:33

in testing i have found that the FPS is better with uncompressed images than with compressed ones . That is why i all the .png's i use are uncompressed ,though the ones on the ML are at 4 ( my sys default) all the vt i use are set at 0


Return to “Textures”