Thanks for the hint Mark Tiemo > -----Ursprüngliche Nachricht----- > Von: use-livecode [mailto:[email protected]] Im > Auftrag von Mark Schonewille > Gesendet: Mittwoch, 28. November 2012 11:47 > An: How to use LiveCode > Betreff: Re: how to set the imagedata to a resized img? > > Hi Tiemo, > > It isn't entirely clear whether you're using imagedata or text. Imagedata > always has the dimensions of the image you're retrieving the image data > from and never the dimensions of another image, but the text always has > the dimensions of the original source. > > You can create a smaller version of the imagedata by setting the text of > an image to the original picture data, resizing that image and getting the > imagedata from it. It is important that you set the imagedata first and > resize the image afterwards. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour > spaces. http://www.color-converter.com > > We have time for new software development projects. Contact me for a > quote. > > > > > On 28 nov 2012, at 10:36, Tiemo Hollmann TB wrote: > > > Hi, > > > > I have a source image, which I want to put into a smaller target > > image, lets say a thumbnail. When having locked the size of the target, > it keeps small. > > But the image data in the small thumbnail does still have the > > dimensions of the source image. So when taking the thumbnail image or > > its text and creating a third image, I get again the dimensions of the > > first source image and have to resize it, if I want to have the > thumbnail size. > > > > Can I reduce the imagedata to the rect of an image? Or do I always > > have to handle only with the image size? > > > > Thanks > > > > Tiemo > > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
