Mail Archives: djgpp/1996/06/18/19:53:49
In article <jpjlohltb8k DOT fsf AT piglet DOT cam DOT cornell DOT edu>, brian AT piglet DOT cam DOT cornell DOT edu (Brian Kelley) writes:
>>>>>> "nkopp" == nkopp <nkopp AT grfn DOT org> writes:
>
> nkopp> In article <835052153snz AT flag DOT demon DOT co DOT uk>, Ben says...
> >> Hi All,
> >>
> >> I just designed a few nice images to be used as sprites in the
> >> Allegro library.
> >>
> >> I saved the screen as a 320 x 200 256 colour PCX file. However,
> >> upon loading it in to the grabber program, when trying to grab an
> >> image from the PCX file, the dotted box seems to be on a grid, not
> >> allowing me to cut my images out properly. Is there any way to fix
> >> this? I looked at the code for the grabber routine, but couldn't
> >> find a way around this.
> >>
> >> Any ideas would be appreciated.
> >>
The grabber does seems to use a "snap grid" when selecting what part of the PCX
bitmap to cut, so you must either ensure the PCX is the size of one sprite, as
a previous poster mentioned. This seems a bit wasteful, especially since most
sprites will be using the same palette, and could be stored more efficiently in
one PCX. There is no reason why you shouldn't be able to grab ANY part of the
bitmap, and changing this should be easy - if you don't mind hacking Shawn's
Grabber utility a bit.
Perhaps the new version should allow grabbing any part Shawn?
Adios
Mark.
- Raw text -