case 'bmp': imagewbmp($new, $dst); break;
case 'gif': imagegif($new, $dst); break;
case 'jpg': imagejpeg($new, $dst); break;
case 'png': imagepng($new, $dst); break;
09-05-2011, 01:38 AM
09-05-2011, 04:04 PM
I'm not sure that GD supports TIFF images, but I know that imagecreate() expects its arguments to be width and height integers, not a file name. You could try using imagecreatefromstring() and see if it knows what to do with it:
you can try some third party imaging processing dll to do such a deal ,it can make things much easier. I use an imaging sdk driver found on the internet . Install it and it becomes a selectable processing option.Then you can resize your image in any program at all, including Adobe Acrobat .zoom in or zoom out on your own will. Just open the images, select resize ,and follow the setps given in the sdk, the task will be finished in several seconds. if you haven't found a good choice , you can have a try. best wishes.
11-07-2013, 01:16 AM
Thanks for your nice info. I agree with you that using a professional Tiff Processor to resize its file can make all the progress much more convenient than before. I will try your sharing later.