Hello, I need (lossless) rotation (90) within runrev using an image object with included image data for automatic correcting images with wrong orientation after having got the exif information. As you said rotate img 1 by -90 produces a white border within the image. How can I avoid this and really get a fine rotation of the image (within runrev, no externals please).
Any further suggestions appreciated. Regards, Mit freundlichen Gren Franz Bhmisch [EMAIL PROTECTED] http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 The exif step is working now using the getexif library of UDI for getting the exif info out of any jpg: ##################################################### ## getExifData( ) -- return Exif data list ## those handlers are public domain ## 2005.07.24 UDI ## 1.1 -- Windows problem fixed 2006.01.10 ## 1.2 -- TIFF support 2006.01.11 ## 1.3 -- endian problem fixed 2006.01.12 ## 1.4 -- added 2 tags (TIFF width/length) 2006.01.13 ## at http://homepage.mac.com/udi/stack/tool.html you just have to add in the script case 274 -- 0x0112 put getInt( imgData, dataPos +6, endian ) into aNum put return & "Orientation:" & aNum & getOrientationMode( aNum ) after theResult break function getOrientationMode aNum switch aNum case 1 return "(= normal)" case 6 return "(= hochkant links)" case 8 return "(= hochkant rechts)" default return "" end switch end getOrientationMode ###################################################### Original Message processed by David InfoCenter Subject: Re: rotating images... (27-Jun-2006 8:05) From: Judy Perry To: [email protected] .... > The main difference is that "rotate" is desctructive and "angle" isn't. > Compare: > > set the angle of img 1 to 33 > set the angle of img 1 to 0 > > vs. > > rotate img 1 by 33 > rotate img 1 by -33 _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
