logo       

Re: Reading only parts of images, tiles: msg#00084

lang.smalltalk.squeak.beginners

Subject: Re: Reading only parts of images, tiles


On Sep 17, 2007, at 20:38 , Peter Schneider wrote:

Hi,

Is there any class which is able to read only a specific part of a given image? I can read and display entire images with "Forms" just fine, but it does not seem to permit me reading only parts of it.
The reason i'm asking this is because i want to implement a simple tile graphics engine, so i need a way to break down images into single parts.

You always have to read the whole image first, resulting in a single Form. Then you can break it up if necessary, or even simpler, just display only the part of the image that you want.

- Bert -


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise