Re: Q: Can I use only a part of an Image File and do stuff with it ?

2009-10-06 Thread BNig
Just for the record and to correct a piece of code I posted: As it turns out Rolf wanted to preserve the transparency of a PNG when slicing it up. Aditionally there was a bug in my previously posted code. So here is a version that preserves transparency for PNG (no harm if it is a JPG that has no

Re: Q: Can I use only a part of an Image File and do stuff with it ?

2009-10-02 Thread Jim Lambert
s the beauty of a great list like this. Interesting questions, suggestions, & examples. Jiml Date: Thu, 01 Oct 2009 14:57:12 -0700 From: Phil Davis Subject: Re: Q: Can I use only a part of an Image File and do stuff with it ? To: How to use Revolution Message-ID: <4ac525b8.9030...

Re: Q: Can I use only a part of an Image File and do stuff with it ?

2009-10-01 Thread Phil Davis
hmond Mathewson Subject: Re: Q: Can I use only a part of an Image File and do stuff with it ? To: How to use Revolution Message-ID: <4ac37581.1020...@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Rolf Kocherhans wrote: For instance I have an imported Image fi

Re: Q: Can I use only a part of an Image File and do stuff with it ?

2009-10-01 Thread Jim Lambert
And here's the code: http://netrin.on-rev.com/animateimage/animateimage.html Jim Lambert On Sep 30, 2009, at 11:29 AM, Jim Lambert wrote: Date: Wed, 30 Sep 2009 18:13:05 +0300 From: Richmond Mathewson Subject: Re: Q: Can I use only a part of an Image File and do stuff with it

Re: Q: Can I use only a part of an Image File and do stuff with it ?

2009-10-01 Thread Phil Davis
Hi Rolf, Here's another solution (I needed to unwind before getting back to work). I made a stack, imported an image and made its height 1/10 of its width. Then I created a button and gave it the following script. Click the button and *poof* it works. This only handles 'the imageData' of the

Re: Q: Can I use only a part of an Image File and do stuff with it ?

2009-10-01 Thread BNig
Rolf, there are already some suggestions to your question which are probably very usable. I just played around with the idea to extract your slices from the imagedata of the original. Here is the code works also if the width the original image is not an even multiple of the width of the slices .

Re: Q: Can I use only a part of an Image File and do stuff with it ?

2009-09-30 Thread Jim Lambert
Date: Wed, 30 Sep 2009 18:13:05 +0300 From: Richmond Mathewson Subject: Re: Q: Can I use only a part of an Image File and do stuff with it ? To: How to use Revolution Message-ID: <4ac37581.1020...@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Rolf Koch

Re: Q: Can I use only a part of an Image File and do stuff with it ?

2009-09-30 Thread Richmond Mathewson
Rolf Kocherhans wrote: For instance I have an imported Image file (png) 10 pixels high and 100 pixels long. From pixel 1 to 10 ist Picture_one, from pixel 11 to 20 is Picture _two etc. Can I the display those 2 respectively 10 pictures individually ? Cheers Rolf

Q: Can I use only a part of an Image File and do stuff with it ?

2009-09-30 Thread Rolf Kocherhans
For instance I have an imported Image file (png) 10 pixels high and 100 pixels long. From pixel 1 to 10 ist Picture_one, from pixel 11 to 20 is Picture _two etc. Can I the display those 2 respectively 10 pictures individually ? Cheers Rolf ___ us