• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

reading properties of jpg-files

Guest
Dec 17, 2006 Dec 17, 2006

Copy link to clipboard

Copied

hello all,

is it possible to read the properties of an image-file (jpg) and write them into variables?
for example: date, shutter speed, with, height, camera, focus,... and many more data are included in a jpg-file.

thanks in advance,
rudy
TOPICS
Advanced techniques

Views

365

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Dec 17, 2006 Dec 17, 2006

Copy link to clipboard

Copied


  1. Download Drew's metadata extraction library at: http://drewnoakes.com/code/exif/releases/ .
  2. Place metadata-extractor-2.3.1.jar in your lib directory (Typically C:\CFusionMX7\wwwroot\WEB-INF\lib for a standard windows installation).
  3. Restart the CF services.

Then the attached code should get you started...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Dec 18, 2006 Dec 18, 2006

Copy link to clipboard

Copied

See above to read meta data (like EXIF properties) of a JPEG file using Coldfusion.

(Adding tags to help any future searchers.)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 18, 2006 Dec 18, 2006

Copy link to clipboard

Copied

LATEST
hello,

thanks for the answer. i have already installed the *.jar in the CF library. i will test the code soon. the purpose is to collect the data from the jpg-file in several form-variables and write them into a database record (SQL server)

greetings,
rudy

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation