picture encryption - Printable Version +- Qbasicnews.com (http://qbasicnews.com/newforum) +-- Forum: Qbasic "like" compilers/interpreters (http://qbasicnews.com/newforum/forum-5.html) +--- Forum: FB Discussion & Programming Help (http://qbasicnews.com/newforum/forum-15.html) +--- Thread: picture encryption (/thread-9326.html) |
picture encryption - Dio - 05-30-2006 no, i mean how to upload picture into FB so that while in the fb program i see the image from the bmp displayed on the screen. and, if i want, save the bmp back onto my computer in a new file or, if i wish, save over the file that i drew the bmp from in the first place. picture encryption - Dio - 05-30-2006 and, if possible, have the computer detect the dimension (that means how big the picture is) automatically. picture encryption - Anonymous - 05-30-2006 Code: bload "mybmp.bmp" i believe thats how. you can also skip a step Code: dim as integer bmp_x, bmpy bmp_x and bmp_y would of course contain the dimensions of the image picture encryption - Dio - 05-31-2006 cool thanks. picture encryption - Kylemc - 06-01-2006 Why not just encrypt the BMP or whatever file instead of messing around with the individual pixels? picture encryption - Dio - 06-01-2006 i thought about this for awhile and the came to a simple answer: i don't know how. picture encryption - marinedalek - 06-01-2006 Just to add more shortening to the much debated ( :winkwink: ) code... Code: pset (x,y), point(rx,ry) picture encryption - Neo - 06-01-2006 Quote:Just to add more shortening to the much debated ( :winkwink: ) code...That won't work. You'll put the same color back, instead of swapping the colors. :winkwink: picture encryption - Anonymous - 06-01-2006 ...and lose the color at x, y in the process >.> picture encryption - Zack - 06-01-2006 Code: #define infile "infile.bmp" If you are encrypting a bitmap file, make a password file by just opening up mspaint and drawing a picture that has the exact same dimensions of the picture you want to encrypt. (Note: that won't work for some compressed image formats like png, because even two pictures of the same dimensions will have different compressed sizes.) |