LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   converting tiff to jpeg (http://www.linuxquestions.org/questions/linux-software-2/converting-tiff-to-jpeg-299931/)

freebies 03-10-2005 05:05 AM

converting tiff to jpeg
 
hello!!

can anyone recommend a command line utility which i can use from shell that is fast and easy on server resource as we want to use this as automated conversion for images ppl upload to our server.

should handle tiff to jpeg conversion (preferably others too)

if possible is there something like this in system already so i dont have to install ? if no its okay

i have redhat enterprise 3 on the server

thank you

freebies

titopoquito 03-10-2005 05:10 AM

Hi freebies,

maybe you have imagemagick installed. Just try "convert foo.tif foo.jpeg" at command line. It's a very simple but powerful tool I use for converting images to another format.

Cheers,

titopoquito

freebies 03-10-2005 05:24 AM

ya thanks, just found that and installed.. seem very cool.

do you know if its fast, suitable for using for web stuff ?

titopoquito 03-10-2005 05:32 AM

Sorry, I don't know that. Never compared it to other command line tools and I used it just to convert no more than 20 images at one time on my Workstation. But I read more than one time about it, I can't remember another program being recommended.
Let's wait for other responses :)

titopoquito

shengchieh 03-10-2005 07:46 PM

See

http://wheel.compose.cs.cmu.edu:8001.../browse/objweb

Sheng-Chieh

kees-jan 03-11-2005 02:51 AM

Hi,

I usually recommend the netpbm toolkit. It is very modular, hence very flexible, although not very fast.

Groetjes,

Kees-Jan

freebies 03-12-2005 06:14 AM

thanks, but speed is the key for me. i'll see how much load imagemagick will do. but seem quite fast so far.

JLTB 04-11-2005 01:55 AM

Hi,

I run an amature photography website (just for fun, nothing serious) and I use a system called coppermine (it's OSS, on sourceforge I believe). It uses Imagemagick by default, and so does another system I have tried in the past (I think it's just called photogallery).

From what I've read and heard people say Imagemagick is the more robust package, as opposed to netpbm.

Apache also has some internal libraries for building images, but from what I hear they are slow, hard on the server, and generally a bit sucky.

Hope that helps a bit.

John VV 06-26-2013 10:17 PM

dannydog
you do realize that this thread is from 2005

there are also many different "tiff" images
mostly it has been regulated for 16 bit Unsigned images , or 32 bit floating point ( used for 16 bit SIGNED format data )

for 8 bit images Imagemagick Q8 is fine, so is gimp, gwenview, any that might be installed

for 16 bit UNSIGNED Imagemagick Q16 is needed ( LSB/ MSB)
for 16 bit SIGNED - forget it IM dose not work
for 32 bit Float - forget it IM dose not work

C, DevIL,Vips,Gmic ,GDAL all do a great job


you also do realize that the link you posted is for using ancient MICROSOFT TOOLS !!!
Quote:

Run Microsoft Visual Studio (2005 or later version);
Create a Windows project in Visual Studio 2005;
using MS's ".net" framework in C#

Code:

convert -depth 8 image.tif image.ppm
and you are done


All times are GMT -5. The time now is 08:40 PM.