Re: Encrypting image files
- Posted by lockiedownunder Jun 30, 2009
- 884 views
At the moment the image is loaded into an Atom (see below)
I don't really know how I would take a jpg image and encrypt it, then decrypt it and load using the ataom as a handle.
So yes if you could knock up an example I would appreciate it.
Snip from my program
-- Load an image from file image = CXI_LoadImage("MyImage.jpg", CXI_FORMAT_UNKNOWN, 0) ImageResize() clearWindow(myPixMap) DestX = 0 DestY = 0 ImageZoomed=False bitBlt(myPixMap,5,5,createDIBFromCXImage(image),0,0,BitmapSize[1],BitmapSize[2],SRCCOPY)