Swami, the linux engine does not include the export command... so we need to work a different way.
Andre On Sun, Mar 23, 2008 at 6:00 PM, Sarah Reichelt <[EMAIL PROTECTED]> wrote: > On Mon, Mar 24, 2008 at 6:32 AM, Sivakatirswami <[EMAIL PROTECTED]> wrote: > > I would be interested in a runtime web app that takes incoming hi res > > photos and generates a small version. Does anyone know if references > > like the following will work in a CGI? > > > > put url "binfile:/httpdocs/incoming/photos/humungous.jpg" into image 1 > > > > #scaling routine truncated for this discussion: > > > > set the rect of image "currentImage" to 0,345,0,240 > > > > create image "newImage" > > set the rect of image "newImage" to the rect of img "currentImage" > > set the imagedata of img "newImage" to the imageData of img "CurrentImage" > > set the JPEGQuality to (fld "jpegSetting") > > export image "newImage" to file gCurrentFolder & tImage as JPEG > > > > This works break on the GUI and is actually pretty speed relative to > > Photoshop's own scaling, even with image quality set to "best". > > > > But I don't know if these are "abstract" objects (like a field or custom > > property or stack script) that will work without a GUI. of some > > interaction with a video card is required... > > > I have no idea whether objects will work without the Rev GUI, but if > they don't, perhaps you could try using the templateImage? > > Cheers, > Sarah > > _______________________________________________ > 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 > -- http://www.andregarzia.com All We Do Is Code. _______________________________________________ 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
