Hmm, this seems to fit the bill (PDF+image files) If anyone knows how to get ImageMagick or any other free command-line tool to add arbitrary metadata to image and PDF files (and of course, to extract it) please let me know. (XMP is a profile of RDF from Adobe that has a lot of potential I’ve complained here before about the lack of free command-line tools for adding and extracting XMP metadata from binary files.) Based on my tests and an online problem description, I don’t think this feature works properly yet. Since writing all that, I’ve found a possibly great new feature of ImageMagick: the ability to add XMP metadata to image files. If you need to process batches of images, it’s really worth looking through the command line options it offers, and of course the other ImageMagick utilities as well. To do this 178 times in Windows, I created a batch file that looked like this convert %1.jpg %1.bmpĪnd then used the output of dir /b *.jpg to create a batch file that called the two-line batch file for each image file. I just converted each to a BMP and then back, like this, convert myfile.jpg myfile.bmpĪnd then I had a JPEG file that displayed fine in the web browsers. It has dozens and dozens of command-line options, but I didn’t even need any to fix these JPEGs. This free program, available for Windows, Mac, and Linux comes with several command line utilities, but the convert one is all I’ve ever needed. GIMP could read them and display them, and a GIMP Save As JPEG (after making no changes) created files that displayed properly in Firefox and IE, but I didn’t want to do that 178 times. I recently had 178 JPEG files that weren’t behaving: Firefox and IE couldn’t display them.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |