[Phpwm] displaying images on screen

alan dunn alan at dunns.co.uk
Thu Oct 2 13:00:45 UTC 2008


This probably has an easy answer, but we haven't found it.

We have an archive of jpeg images. We want to open one using GD library

$im1 = imagecreatefrom jpeg($pathname.$filename);

 rotate it:

$im1 = imagerotate($im1,-90,0);           .... and display it on screen.

How do we get to display the image which is now represented by resource 
$im1?
We know you can do it by saving the rotated image back to somewhere then 
displaying the saved image - but that's a lot of overhead just to show a 
temporarily rotated image.

Any help much appreciated, thanks, Alan Dunn


-- 

DISCLAIMER:

This document originates from within Dunns Imaging Group Limited.
This message, together with any associated files, is intended only for 
the use of the individual or entity to which it is addressed and may 
contain information that is confidential, subject to copyright or 
constitutes a trade secret. If you are not the intended recipient of 
this communication you are hereby notified that any dissemination, 
copying or distribution of this message, or of any files associated with 
this message, is strictly prohibited.
If you have received this message in error, please notify us at once.

Dunns Imaging Group Ltd.
Registered Office: Chester Road Cradley Heath West Midlands B64 6AA.
Tel: 01384 564770
Registered in England 598527.




More information about the Phpwm mailing list