grayleonard / booxtream-epub-drm-remover

Removes all "Social DRM" from booXtream ePub files
178 stars 28 forks source link

Cured epub still contains watermarked image in archive #5

Closed lostfictions closed 6 years ago

lostfictions commented 6 years ago

Hey there, thanks for this tool! I just tried running it on some books I bought from the Verso sale today and at a first glance it works well -- but when I extracted the epub to take a quick look, there was a watermarked image still present in the archive (even though it seems to have been removed from the page flow.)

(If it's helpful, the DRM seems to be applied even to free PDFs from Verso, like this one.)

lostfictions commented 6 years ago

Here's a run of diff.sh of two versions of a free epub downloaded from their site under two different accounts, after having run the script on each:

diff

The image in Text/ is the visually watermarked image the script left behind in both cases, but it looks like the PNGs in Images/ have some additional covert watermarking...

grayleonard commented 6 years ago

Thanks for reporting, seems to be a bug I introduced from fixing the last issue. Looking at it now.

grayleonard commented 6 years ago

Just pushed a fix for this - the watermark image is once again deleted from the repackaged epub, as it was before.

lostfictions commented 6 years ago

Thanks for the quick turnaround! (As I mentioned above, upon closer inspection of the cleaned epub there also seems to be some further image watermarking happening that the script doesn't fix, but I'll open a separate issue for that.)