.ZNG image file format

BlitzMax Forums/BlitzMax Programming/.ZNG image file format

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

It started off as my own format but migrated to a zipped and encrypted data file. It still serves my purpose quite well and loads very fast.

The encryption is the xor_crypt type encryption from the archives. And I'm using zlib for the compression via Mark's CompressBank and UncompressBank functions.

Yep I'm encrypting after compression now which makes much more sense. No there are no image filters etc. Like I said above it's really just a compressed and secure mirror of the file whether it's a jpg, png, bmp, doc, xls, b3d file it' doesn't matter. It just compresses, encrypts and writes it in byte form. I've actually altered the routine now to save the file extension in the encrypted file so now it can out put the original file.