A picture is worth a thousand words

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Bruce
    Indigo Rose Customer
    • Jun 2001
    • 2134

    A picture is worth a thousand words

    Does anyone know of a way to to gain info (any info for that matter) from a gif, jpg or other image?
  • Derek
    Indigo Rose Customer
    • May 2001
    • 1254

    #2
    Bruce, you can use File.GetAttributes, File.GetSize, File.GetVersionInfo to get you started. Depends what else you want.
    -
    = Derek
    ["All glory comes from daring to begin" - fortune cookie]

    Comment

    • JimS
      Indigo Rose Customer
      • May 2003
      • 1057

      #3
      Here is a thread you might be interested in.

      Comment

      • Philo
        Forum Member
        • Feb 2004
        • 78

        #4
        Check out Steganography

        Comment

        • Corey
          Indigo Rose Staff Alumni
          • Aug 2002
          • 9745

          #5
          Wow! I just analyzed my autographed 8" X 10" glossy of Ernest Borgnine and found a map to Mel's Hole embedded in it. :yes

          Comment

          • Bruce
            Indigo Rose Customer
            • Jun 2001
            • 2134

            #6
            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

            • Intrigued
              Indigo Rose Customer
              • Dec 2003
              • 6138

              #7
              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 Files
              Intrigued

              Comment

              • Corey
                Indigo Rose Staff Alumni
                • Aug 2002
                • 9745

                #8
                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

                • Intrigued
                  Indigo Rose Customer
                  • Dec 2003
                  • 6138

                  #9
                  Originally posted by Corey
                  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.
                  Ha! I was looking in the Crypto plugin for this sort of Action.

                  D'oh!


                  :yes
                  Intrigued

                  Comment

                  • Bruce
                    Indigo Rose Customer
                    • Jun 2001
                    • 2134

                    #10
                    WOW Thax guys! Corey, that's what I needed! Thank you very much!

                    Comment

                    Working...
                    X