Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. detailed attributes of jpeg

detailed attributes of jpeg

Scheduled Pinned Locked Moved C#
question
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    steven shingler
    wrote on last edited by
    #1

    Hi all I'm working with the FileInfo object. Is there a way to get hold of the detailed attributes of a jpeg using this object? Like if you right click on the jpeg in windows explorer - properties - summary: title, subject, author etc etc. If not, are there any other ways? Any ideas gratefully received :) Steven

    N A 2 Replies Last reply
    0
    • S steven shingler

      Hi all I'm working with the FileInfo object. Is there a way to get hold of the detailed attributes of a jpeg using this object? Like if you right click on the jpeg in windows explorer - properties - summary: title, subject, author etc etc. If not, are there any other ways? Any ideas gratefully received :) Steven

      N Offline
      N Offline
      Nick Parker
      wrote on last edited by
      #2

      steven shingler wrote: properties - summary: title, subject, author etc etc. Take a look at the FileVersionInfo[^] class. - Nick Parker
      My Blog | My Articles

      1 Reply Last reply
      0
      • S steven shingler

        Hi all I'm working with the FileInfo object. Is there a way to get hold of the detailed attributes of a jpeg using this object? Like if you right click on the jpeg in windows explorer - properties - summary: title, subject, author etc etc. If not, are there any other ways? Any ideas gratefully received :) Steven

        A Offline
        A Offline
        Arjan Einbu
        wrote on last edited by
        #3

        Load the jpg into an System.Drawing.Image and use the PropertyItems collection on that... (or GetPropertyItem method)


        Have a look at my latest article about Object Prevalence with Bamboo Prevalence.

        S 1 Reply Last reply
        0
        • A Arjan Einbu

          Load the jpg into an System.Drawing.Image and use the PropertyItems collection on that... (or GetPropertyItem method)


          Have a look at my latest article about Object Prevalence with Bamboo Prevalence.

          S Offline
          S Offline
          steven shingler
          wrote on last edited by
          #4

          Cheers guys The description property using the FileVersionInfo was returning an empty string for my jpgs, but the PropertyItems collection does the job great. Thanks very much! :)

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups