Does anyone know of a way to to gain info (any info for that matter) from a gif, jpg or other image?
A picture is worth a thousand words
Collapse
X
-
Here is a thread you might be interested in.
Comment
-
-
-
What I was shooting for was seeing if a specific picture was being used in AMS, if not close the program down. I would be using this in my realtor engine I made. This way if some one were to attempt to use the programming without permission (adding their own pic) the progie would die.
Comment
-
-
Well, it's getting late my way. But, here is a simple example. It is not excellent security by any means. But, it is intended for projects that have images that will not be dynamically updated in any way, shape, or form. In another words, this works best with images that were originally in the AMS project.
The attribute CreationDate is the workhorse of this small application.
Here's the code:
Code:tAttribs = File.GetAttributes("AutoPlay\\Images\\1.jpg"); sCreationDate = tAttribs.CreationDate; if (sCreationDate == "Tuesday, January 18, 2005") then else Application.Exit(); end
Attached FilesIntrigued
Comment
-
-
Hi Bruce. I might be wrong but I think File.GetCRC() is the best way in terms of balancing functionality with overhead.
There's tons of other ways too. Intrigued's is neat. Another good way is to retrieve images from the net, that's impossible to beat. Your app loads the images at runtime dynamically. But of course the user has to be online.
Sounds like File.GetCRC is the ticket for you though, i.e.:
What is a CRC value?
Hope that helps.
Comment
-
-
Originally posted by CoreyHi Bruce. I might be wrong but I think File.GetCRC() is the best way in terms of balancing functionality with overhead.
There's tons of other ways too. Intrigued's is neat. Another good way is to retrieve images from the net, that's impossible to beat. Your app loads the images at runtime dynamically. But of course the user has to be online.
Sounds like File.GetCRC is the ticket for you though, i.e.:
What is a CRC value?
Hope that helps.
D'oh!
:yesIntrigued
Comment
-
Comment