[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] transform.chop and image cropping



On 9/2/07, DR0ID <dr0id@xxxxxxxxxx> wrote:
> David Gowers schrieb:
> > On 9/2/07, DR0ID <dr0id@xxxxxxxxxx> wrote:
> >
> >> You could store the hotspot in the file name e.g.:
> >>
> >> hero_200_300.png
> >>
> > Earlier, I considered mentioning that. Then I laughed a lot.
> >
> > Doing that is quite impractical for the artist.
> >
> >
> offtopic: May I ask why?
>
1. Needing to change the image filename every time you want to change
the hotspot.

2. Specifying the centre by coordinates rather than visual alignment