crypted images

Discuss using and improving Lua and the Lua Player specific to the PSP.

Moderators: Shine, Insert_witty_name

Post Reply
fafenstein
Posts: 10
Joined: Mon Dec 12, 2005 8:38 pm

crypted images

Post by fafenstein »

Hi all,

I want to kwnow if it's possible to "crypt" (i hope it's english) images.

If i want to do a games with nude women (it's an exemple ;b).
You win a level and you can see a picture.

But in lua all pictures are visible in the game directory, so how to do for hide this picture (crypt)....

Thx for answers.
Ferrero
Posts: 15
Joined: Mon Dec 19, 2005 7:26 pm
Contact:

Post by Ferrero »

Hi,

I think you can solve your problem like this.

I've developed a class that load and blit PCX image (yep, I'm making some advertisement ;-).

So you can save your nude wom.....image (sorry), in this format with photoshop or paintshop. After, save your palette (PCX are 256 indexed color images), and then make all the colors of the palette black, and save again

So to view your image :

load the black image via the clsPCX class.
modify the palette of the clsPCX (load the saved palette or hard code it)
blit the image to the screen.

So without yout script people can only see black images.

you can found the PCX class here.

I wish this will be help you.
_________________________________________________________
Do you want some LUA Scripts ?
Go here
fafenstein
Posts: 10
Joined: Mon Dec 12, 2005 8:38 pm

Post by fafenstein »

wahou thx guyz !!
I will try it later but thx a lot !!
Post Reply