Questions tagged [iptc]

IPTC Information Interchange Model

IPTC is information that is embedded into images.

From Wikipedia

IIM attributes are widely used and supported by many image creation and manipulation programs. Almost all the IIM attributes are supported by the Exchangeable image file format (Exif), a specification for the image file format used by digital cameras.

Also see:

118 questions
2
votes
1 answer

Error when executing iptables code “Error commit: Protocol wrong type for socket”

The C code below is equivalent to the following iptables command: ip6tables -A OUTPUT -t mangle -s 2001:db8:222:2::/64 -j MARK --set-mark 20 However, the iptables command is working fine from the command line but when I execute the code it gives…
Ibra
  • 53
  • 6
2
votes
4 answers

Extracting IPTC/EXIF data from tif files in using Java

The system I'm working on has a feature to extract metadata from JPEG files using the com.drew.metadata package. http://www.drewnoakes.com/code/exif/ However that is limited to JPEG files, and now a customer has asked about extracting IPTC from TIF,…
Sindri Traustason
  • 5,445
  • 6
  • 48
  • 66
2
votes
1 answer

Storing massive EXIF and IPTC attributes in database

I'm writing an app that needs to handle more than 15.000 photos and I want to store into the database their EXIF and IPTC attributes. My initial approach is to use MySQL and create a table to store all the attributes, as it is suggested…
jävi
  • 4,571
  • 1
  • 24
  • 32
2
votes
1 answer

Appending metadata to a newly created image via php?

I have php script that creates a temporary watermark image for users that are not logged in. The original image contains IPTC (metadata) information that I would like to retain, however, when the watermark is applied and imagejpeg is called, all…
Ben
  • 67
  • 3
  • 7
2
votes
1 answer

How to manipulate diverse meta-informations of image files in PHP

There are diverse formats to add meta-Information to image (and video) files. nearly every digitalcamera add them to fotos. And sometimes people don't want them to be published. The standards I found so far are: Exif IPTC-NAA XMP Are there more?…
R_User
  • 10,682
  • 25
  • 79
  • 120
1
vote
1 answer

How to parse keyword IPTC from image using PHP?

I have image with keyword. I can not extract keywords using IPTC. Did somebody found a way to retrieve the keyword phrases? How to approach the result? This code i found somewhere on forum.
kuslahne
  • 720
  • 4
  • 10
  • 21
1
vote
3 answers

IPTC data in coldfusion 9

I am using coldfusion's imageGetIPTCMetadata() function to get the iptc keywords. I used Photomechanics to insert some keywords in a hierarchical fashion like this Personnel | Appointments | Assistant Chief of General Staff (ACGS),…
nasaa
  • 2,701
  • 8
  • 47
  • 76
1
vote
0 answers

Calling libiptc API from a separate thread in a C program throws segmentation fault

I am working on performing iptables update through a custom c program using libiptc. The requirement is to invoke iptc APIs from a separate thread every 2 seconds. I have written a simple C program to try out invoking of iptc APIs from a separate…
1
vote
1 answer

What's the best way of cataloging large number of images?

I'm looking at setting a site up with a large number of searchable images, organised by keywords, tags etc. I'm planning to get the image information from the IPTC data. The images will be uploaded by FTP then added into a database. My question is…
SpaceBeers
  • 13,617
  • 6
  • 47
  • 61
1
vote
3 answers

Error reading IPTC fields from JPEGs in .NET

I get the following exception when calling BitmapMetadata.GetQuery("/app13/irb/8bimiptc/iptc") on about 1% of JPEGs I have tried this on. What could be causing this and what can I do to fix it? (I have tried Googling but I can only find one relevant…
Liam
  • 19,819
  • 24
  • 83
  • 123
1
vote
1 answer

Delete metadata descriptions with a Photoshop Script?

Is there an equivalent of deleteProperty(XMPConst.NS_DC, "description”) or some way to clear out EXIF:ImageDescription, XMP-dc:Description and IPTC:Caption-Abstract with a Photoshop Script (ie, JavaScript or AppleScript)? I am trying to remove the…
Chris
  • 35
  • 5
1
vote
1 answer

Python TypeError: 'bytes' object cannot be interpreted as an integer. How to add 'bytes'?

I got an error TypeError: 'bytes' object cannot be interpreted as an integer when I use save, what to do to make it right? I want to save in same image, not to create a new one. from iptcinfo3 import IPTCInfo import sys imagename = 'horse.jpg' info…
project.py
  • 107
  • 1
  • 4
  • 19
1
vote
2 answers

how to prevent IPTCInfo3 from creating a copy of the original after saving keywords?

I use IPTCInfo3 in my Python app to write keywords to the IPCT metadata of an image. For some reason if I use info.save() it creates a copy of the original, e.g. it will write the keyword to Clean.JPG but will also create Clean.JPG~ without the…
Clonimus74
  • 19
  • 3
1
vote
1 answer

Filter out images which don't have IPTC metadata

I like ot filter out images and move them to another directory that either doesn't have, Title Description Headline Keywords filled. If any of the above missing, move to new directory. I think Exiftool could do this
SupWP
  • 17
  • 6
1
vote
0 answers

Extracting IPTC metadata using PHP - Subject Code HEX value needed

I have a small PHP script that grabs specific IPTC tags from an image file after uploading (see below): move_uploaded_file($_FILES['file']['tmp_name'], 'uploads/' . $_FILES['file']['name']); $size = getimagesize('uploads/' .…
Oroonoko
  • 11
  • 1