The kicker is that the tiff files (several hundred divided up amongst a couple dozen directories) are on an FTP and I want to transform them to JPG and then move them to an HTML server without having to download them locally. The HTML and FTP are in the same directory on the main server. I hope this makes sense. Any suggestions?
I need help with transforming images files (tiff2jpg) on a server
(5 posts) (3 voices)-
Posted 3 years ago Permalink
-
Does the server have php or ruby installed? You can process them (assuming ImageMagick is there) with something along these lines:
<?php $images = new Imagick(glob('images/*.tif')); for($images as $image){ $image->thumbnailImage(1024,0); } $images->writeImages(); ?>
Posted 3 years ago Permalink -
Can you mount the remote directory locally at all? What about getting somebody with shell access to let you run a quick bash script with mogrify and find?
#!/bin/bash for i in find -iname *tif do /usr/bin/mogrify -format jpg $i done
Posted 2 years ago Permalink
Reply
You must log in to post.