Mail Archives: djgpp/1996/06/18/11:19:41
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.
>
>--
>Cheers,
>
>Ben -=Look for "Moo-Juice" on the IRC=-
>
The grabber doesn't work on a cut & paste system. It works on a "grab" system.
That was new to me, too, so it took some getting used to. You need to save each
sprite as a separate PCX file. Then, in grabber, create a new bitmap or RLE
item and then load one of the PCX files. Next choose "grab". This will copy
the PCX to your bitmap. You may need to adjust the x/y sizes of the bitmap
first. You'll also want to grab the pallete. Hope this helps.
-Nathan Kopp (Impulse)
nkopp AT grfn DOT org
http://www.grfn.org/~nkopp/
http://www.grfn.org/~nkopp/djgpp.shtml
- Raw text -