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
0
votes
2 answers

Run python-iptables (iptc) as non-root user

I am trying to run the python-iptables as a non-root user. My script is test.py: import iptc import os uid = os.getuid() print("Real user ID of the current process:", uid) table = iptc.Table(iptc.Table.FILTER) print("Table is:".format(table)) I…
belabrinel
  • 851
  • 8
  • 15
0
votes
0 answers

Imagemagick looses IPTC metadata when converting from tif to jpeg

I'm using imagemagick to convert a large set of tif images to jpg, using this command: find /pfad/to/pictures -name \*tif -exec convert -quality 98% "{}" jpeg:"{}" \; -print This means, the convert command looks like this: convert -quality 98%…
The Bndr
  • 13,204
  • 16
  • 68
  • 107
0
votes
1 answer

IPTCInfo change keywords without quotation marks

I try to change the keywords for some pics, with a csv file that has the nessescary data. The problem is that I can't change the keywords without getting quotation marks into the array element(see: "b'Fallow_deer'") . I hope someone can help. code
Lars-
  • 1
0
votes
1 answer

iptcembed() corrupts JPG data

It seems that PHP's iptcembed() function corrupts JPG files. This demonstration extracts the IPTC data and immediately embeds it again: // extract IPTC data getimagesize($sourceFile,$info); $iptcData = $info['APP13']; // embed IPTC data $newFile =…
showdev
  • 28,454
  • 37
  • 55
  • 73
0
votes
1 answer

Metadata map for importing CSV data into IPTC XMP images using Bridge

Let's say I have 100 scanned Tif files. I also have a CSV of the metadata for those 100 Tif files. Each file is named with its unique identifier, which is also column 1 of the csv. First: How do I find a map that tells me what columns should be…
ArchivistG
  • 168
  • 1
  • 13
0
votes
1 answer

Golang image iptc metadata

I need to get the meta data, especially the iptc meta data from the uploaded files on the server. I have found two packages I can import, but both of them require the "libiptcdata" libary. It should not be a problem, but after I installed the libary…
Stephen
  • 13
  • 2
0
votes
1 answer

Which library to refer for Iptc4xmpExt in python?

I am currently using iptcExt from pyexiv2 Module but my main requirement is use Iptc4xmpExt and that is not available in pyexiv2, so which library or module I need to import in python to create Iptc4xmpExt meta information?
0
votes
0 answers

Replace IPTC keywords in picture files

I need to change the IPTC keywords in .tif picture files. As we exported these .tif files out of a system, the keywords all got into one string and now you can't filter on those anymore. I want to read the keywords of every file in a folder, split…
0
votes
2 answers

keywords added by exiv2 not found

I export images using Lightroom, with keywords in the IPTC metadata. I then use exiv2 to add keywords. I then upload my images to an online website. The website sees the keywords added by Lightroom, but not the keywords added by exiv2. I can see the…
Sulli
  • 763
  • 1
  • 11
  • 33
0
votes
1 answer

Using GraphicsMagick.NET to edit IPTC fields

I have meta data for 50,000+ images in formats including .jpeg, .tif, .psd, .pdf, etc. I am attempting to embed the meta data for an image into its IPTC fields using GraphicsMagick.NET. After adding an IPTC profile to the image and saving the image,…
Xeraqu
  • 195
  • 2
  • 13
0
votes
2 answers

exiftool prevent duplicate iptc:keywords/xmp-dc:subject when using add +=

problem: When i have a jpg whith iptc:keywords=holliday and i execute exiftool myImage.jpg -IPTC:Keywords+=holliday -IPTC:Keywords+=ocean the image has two "holliday" tags to avoid duplicates i currently use exiftool myImage.jpg…
k3b
  • 14,517
  • 7
  • 53
  • 85
0
votes
1 answer

cant call function from within its class but can otherwise?

just can't seem to get a result from a function called in its class... require_once($_SERVER['DOCUMENT_ROOT']."/youradmin_v2/scripts/php/IPTC.php"); class Media{ function Media() { // connects to db } function getMetaData($mediaID){ …
v3nt
  • 2,845
  • 6
  • 36
  • 50
0
votes
1 answer

IPTC metadata to TIFF from EXCEL readable in Bridge

I have an Excel sheet with fields such as [name][url in folder][keywords] ... I am trying to find the best way to write IPTC metadata keywords to my 60'000 TIFF images in order to be able to search through them (with Adobe Bridge) from this Excel…
pathat0r
  • 75
  • 10
0
votes
2 answers

No UTf-8 when write IPTC data in JPG with iptcembed

I use this function function iptc_make_tag($rec, $data, $value){ $length = strlen($value); $retval = chr(0x1C) . chr($rec) . chr($data); if($length < 0x8000) { $retval .= chr($length >> 8) . chr($length & 0xFF); } …
0
votes
1 answer

Is there any workaround for getimagesize?

For some unknown reasons PHP getimagesize truncates my IPTC caption strings from JPGs. So iptcparse can only spit out what it gets. Is there any workaround?
underscore
  • 57
  • 8