4pr0n / ripme

Downloads albums in bulk
MIT License
916 stars 203 forks source link

Save Imgur Descriptions in jpg metadata #582

Open BubiBalboa opened 7 years ago

BubiBalboa commented 7 years ago

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!

cyian-1756 commented 7 years ago

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

BubiBalboa commented 7 years ago

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.

cyian-1756 commented 7 years ago

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

BubiBalboa commented 7 years ago

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. :)

metaprime commented 7 years ago

@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.

rautamiekka commented 7 years ago

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).

metaprime commented 7 years ago

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.

rautamiekka commented 7 years ago

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