Image manipulation program

View: New views
2 Messages — Rating Filter:   Alert me  

Image manipulation program

by Andrea Viarengo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

SDL_image can only import image in vary formats, but at the moment we can only save file as BMP.

I think should be usefull rotate images in authoring mode, this could be in 2 mode:

1) search some other library which permit to save image at least in GIF, JPG and PNG
2) use an external program

the second one is the more simple to implements, and I found this one:

http://perso.orange.fr/pierre.g/xnview/en_nconvert.html

It is a command line tool and it's composed by only 1 file and it's available for Win,Mac,Linux and others.
It 's a freeware for not commercial use (the sources aren't available).


Andrea



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Pipmak-Devel mailing list
Pipmak-Devel@...
news://news.gmane.org/gmane.games.devel.pipmak.devel
https://lists.sourceforge.net/lists/listinfo/pipmak-devel

Re: Image manipulation program

by Christian Walther :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andrea Viarengo wrote:
> SDL_image can only import image in vary formats, but at the moment we
> can only save file as BMP.

I intend to add PNG saving support to our SDL_image as soon as I need it
for saving hotspot maps (code for that is around, the topic comes up
every now and then on the SDL mailing list).

> 1) search some other library which permit to save image at least in GIF,
> JPG and PNG

Keep in mind that decompressing a JPEG image, rotating it, and
compressing it again is not a good idea. It is possible to losslessly
rotate JPEGs, but I don't know if there's a library suitable for our
purposes that does it.

  -Christian



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Pipmak-Devel mailing list
Pipmak-Devel@...
news://news.gmane.org/gmane.games.devel.pipmak.devel
https://lists.sourceforge.net/lists/listinfo/pipmak-devel