Re: Encrypting image files

new topic     » goto parent     » topic index » view thread      » older message » newer message

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) 
 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu