Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Flipper 6.0 Help File - <b>fpic_pack()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
FPIC_PACK()
   Completely removes an image deleted with FPIC_DEL().

   Syntax
         nIndex = FPIC_PACK(cFile,cTemporary)

   Arguments
         cFile       Sets the picture file name.
         cTemporary  Sets the temporary hold file name.

   Returns
         nIndex      Returns a -1 if the function was unsuccessful.

   Description
         When an image is deleted with FPIC_DEL(), it is only removed from the
         index file, to completely remove the image the file must be packed
         with FPIC_PACK(). Another image of the same size or smaller can be
         placed in the same location of the file. However, if a larger image
         is saved then it is placed at the end of the file and the previously
         saved information is also still in the file. In this case the picture
         file must be packed to reduce the size of the file.

         The picture file must be closed with before the file can be packed.

See Also: FPIC_DEL() FPIC_GET() FPIC_PUT()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson