ripme icon indicating copy to clipboard operation
ripme copied to clipboard

Save Imgur Descriptions in jpg metadata

Open BubiBalboa opened this issue 7 years ago • 8 comments

Hi folks! Would it be possible to save the descriptions of the images in Imgur folders in ~~the metadata of the pictures~~ an XMP file for very image? Albums from r/DIY are pretty incomplete without the descriptions. Thanks!

BubiBalboa avatar Jun 18 '17 19:06 BubiBalboa

Hi folks! Would it be possible to save the descriptions of the images in Imgur folders in the metadata of the pictures?

I'm pretty sure you can't add random data to jpg's and still have the jpg work in most views. Ripme can however save the descriptions as .txt files (Which it may already do for imgur if you have the save descriptions option checked in the config menu

cyian-1756 avatar Jun 18 '17 20:06 cyian-1756

Yeah I have seen that option (it's even checked by default). It didn't save anything though. I have done some research just now and I think the standard method would be to have an XMP file for every image.

BubiBalboa avatar Jun 18 '17 20:06 BubiBalboa

Yeah I have seen that option (it's even checked by default). It didn't save anything though

Damn. Well I get on adding it in the next few days

I have done some research just now and I think the standard method would be to have an XMP file for every image.

No idea if that will be possible without rewriting a bunch of ripmes util functions, but I'll look into it

cyian-1756 avatar Jun 18 '17 22:06 cyian-1756

Thank you so much. Another idea I read is to put out a PDF with the pictures and descriptions embedded. I don't think this is within the scope of your fine tool but I thought I mention it. :)

BubiBalboa avatar Jun 18 '17 22:06 BubiBalboa

@BubiBalboa probably out of scope, but once the text data is stored, with the image and text data, you should be able to format it however you like. As easy option would be to have a script put together a latex document which could then be compiled to a PDF with another tool.

OTOH, I would assume that print page from an imgur album would do something reasonable -- although perhaps not if the album is too large.

metaprime avatar Jun 19 '17 08:06 metaprime

At least licensing won't be a problem with XMP since it's released under BSD license (simply put: do what the hell you please).

rautamiekka avatar Jun 19 '17 19:06 rautamiekka

We could also fashion a simple HTML page with links to the local files and the text embedded, cutting out the bulk of formatting would keep the file small, and would avoid duplicating picture data by embedding it in a file like a PDF would.

metaprime avatar Jul 13 '17 10:07 metaprime

^ HTML page is a good idea, and fairly simple even if automated libs weren't used.

rautamiekka avatar Jul 13 '17 12:07 rautamiekka