Mark,
My original goal was to get the imagedata of a snapshot as fast as possible. I first tried with "import snapshot" but realized that it didn't produce any valid imageData. Then I thought that may be creating a 2nd image and putting the image content of the snapshot into the 2nd image would create a valid imagedata... But it doesn't... unless you first create a tRect variable for the rect of the snapshot... And finally, I use JPEG because I don't need any transparency, although I just realized that PNG versions of screenshots have a smaller size than JPEGs, but the process is also somewhat longer, and I need to do it as fast as possible... BTW, could someone explain why the tRect variable needs to be created before executing "import snapshot" in order to get a valid imagedata ? I'm probably dumb, but I really don't get it... Best, JB > Hi JB, > > Why did you originally want to create two images? I had the > impression that your goal was to have two image objects. Also, why do > you use JPEG instead of PNG? > > Best, > > Mark > > -- > > Economy-x-Talk > Consultancy and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Salery is the easiest way to get your own web store on-line: http:// > www.salery.biz/salery.html > > Op 4-jun-2006, om 12:07 heeft jbv het volgende geschreven: > > > > > > > Chipp, > > > > Thanks for the tip. > > > > For those interested, I've found a (slightly) different > > but (slightly) faster way to do this : > > > > on mouseUp > > put the screenrect into tRect > > export snapshot from rect tRect to var as JPEG > > create img > > put var into img 1 > > end mouseUp > > > > the difference is probably because only 1 image > > object is created... > > > > JB > > > > _______________________________________________ > 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 -- _________________________ Faith is a central nervous system disease, like Alzheimer or multiple sclerosis. _______________________________________________ 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
