RedSquirrel87 / manga-downloader

A very simple application written in JAVA to download any chapters of any manga from the supported websites
37 stars 1 forks source link

Metadata #207

Closed RedSquirrel87 closed 4 years ago

RedSquirrel87 commented 4 years ago

Original report by Anonymous.


The images that get downloaded from the sites usually have lots of EXIF data. This isn't much of a problem with sites like Kissmanga, but it can become a problem with the Coreview sites (and some others official sites), because they may include unwanted and potentially dangerous information. Would you consider stripping all the images of their EXIF data in RAW mode? You can achieve it with something like this https://github.com/zanedb/exif-remover.

RedSquirrel87 commented 4 years ago

Original comment by Red Squirrel (Bitbucket: Red_Squirrel, GitHub: RedSquirrel87).


they may include unwanted and potentially dangerous information.

I really struggle to think how EXIF data can be dangerous or harmful, don't they simply contain information on how the image was created (tools, detailed info about resolution, etc…)?
I have also checked the suggested program, it does not delete anything for real, it simply load the image in memory and save it again as new file. This procedure creates a "new" image, different from the original. The RAW mode is designed to obtain a 1:1 copy of the original file you can see online from any web browser so it would loose its purpose with a similar function, not to mention that JAVA's ImageIO support is far from the perfection and therefore it could cause palette or color space issues or incompatible conversion with some formats (for example there is no support for WEBP images in native JAVA yet).
If you really want I can insert an option to enable this function of your choise, so whoever really wants it can use it at its own risk. But I really see more possible issues with this procedure than actual benefits xD