Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when "c" moves to "the big a " #93

Open
Andrepartthree opened this issue Feb 2, 2022 · 39 comments
Open

when "c" moves to "the big a " #93

Andrepartthree opened this issue Feb 2, 2022 · 39 comments

Comments

@Andrepartthree
Copy link

Hi everyone... just got an email stating that the big c (looks like we're not referring to them by their actual names based on what I saw in Cortys's intro page here ;) ) will no longer let you read purchased comic books on c .... c's parent company the big a (hint, Jeff Bezos is the big a's overlord and master ;) ) will be basically absorbing c completely such that you will only be able to read c purchases on kindle - that is you won't be able to read c purchased comics on c anymore.

Cortys, I know this is one of those "what if" situations where you have to wait and see what happens when this occurs but.. by any chance do you think you'd have time to develop a similar program that lets us download comic books from kindle? Or maybe this existing program could be "tweaked" such that it would work on kindle?

If not I totally get it and I want to say thank you for this wonderful program that let us download our comic book purchases from c for so long :) .. I just hate losing that ability to download and take ownership of the comics that I paid for :(

If anyone else has any insight other than Cortys (in case Cortys is too busy to see this - totally understandable) please I'm all ears ! :)

@ElleKayEm
Copy link

For the big river, there's DeDRM.

@Cortys
Copy link
Owner

Cortys commented Feb 2, 2022

@Andrepartthree Hi! Thanks for bringing this up; I wasn't aware since I don't really read comics atm.

I just took a glance at the "new" web reader. Bad news first: Unfortunately, supporting it would pretty much require a rewrite of the extension. The good news is that the "DRM" in the new reader also seems to be fairly easy, if not even easier, to circumvent. So, in principle at least, it should be possible to keep the project going.

However, right now I don't really have the time and motivation to do the necessary work. I'll keep this open as a reminder nonetheless. PRs are, of course, also always welcome. 😉

@ElleKayEm I have not tried using DeDRM with comics yet, but if it works well this might actually be the best solution. Should this extension stop working, I'll then at least add a link to the README.

@Lrs121
Copy link

Lrs121 commented Feb 3, 2022

DeDRM is an excellent project and does work for the content I own; limited as it may be. Be sure to use noDRM's fork as the original project is abandoned.

@Andrepartthree
Copy link
Author

Thanks to everyone who replied :) .. I did look up DeDRM - it looks like a lot of work :( especially compared to how easy Cortys made it with his chrome plug in, I guess I've been spoiled now :) ... if that's the only option available I will go with it of course... my research shows (I could be wrong?) that you have to downgrade to an older version of kindle and make sure amazon doesn't force an upgrade to a newer version ... it also looks like it works together with calibre ... would it be safe to say that the only option using DeDRM/calibre is to convert the comic book into a pdf? (which I can definitely do I've read comics in pdf format before without any issues :) ) .. or would converting it into say a cbz format be possible?

@ElleKayEm
Copy link

There's a method of getting decryptable files from the latest Kindle for PC. Yes, DeDRM works with calibre, and calibre can handle CBZ format. But I haven't tried converting Amazon comics myself so no idea how well that would work.

@Andrepartthree
Copy link
Author

That's good to know thanks ElleKayEM :) ... looks like I have my research cut out for me :) ... and thanks again to everyone who responded I don't mean to sound ungrateful with all my complaining :P ... I blame Cortys for making such an awesome easy to use program now I'm thoroughly spoiled :P ... but again thanks everyone :)

@Andrepartthree
Copy link
Author

Actually it was easier than I thought sorry for all the whining :) .. I'm not seeing an option to convert an amazon kindle comic purchase to cbz but that's okay pdf works fine for me as far as being able to make the comic book page as big or as small as I would like (effectively being able to "zoom in" if you will, just change from 100 percent to 150 percent or what not on the view window in adobe reader).

Hopefully I will be able to post a link here

https://apprenticealf.wordpress.com/

if you scroll down to " Installing the DeDRM plugin for calibre " it more or less walks you through it, had to puzzle and guess through the instructions a bit as they varied from what I'm guessing is the most recent version of calibre but there's enough info there for someone to figure it out.

Here's where the big a gets annoying (and fiendishly clever).. they don't list the name of the comic by it's, well, name.. so for example if you go into your kindle content in your my documents folder in Windows to give an example you'll be greeted with the name " B07V6N9PBC_EBOK.azw " instead of calling it "Vampirella number zero".

Fortunately if you look at the date the file was created that makes it easier... you just look for the file that was created the same day you downloaded it to kindle ... but first apparently you need to sign into your " big a " account, look for "content and devices" under the "my account" drop down menu, click on "books" in digital content, check off the checkmark box next to the book you want, select "deliver to device", follow the prompts to send it to your PC, and it will appear in that kindle content folder I mentioned earlier.

Apologies for the blow by blow explanation here but I was thinking it would help newbies like me who are intimidated by doing something like this, much easier than it initially appears to be :) ..

@ElleKayEm
Copy link

That first part of the file name is its ASIN which is listed on its Amazon page. Current development on DeDRM is here: https://github.com/noDRM/DeDRM_tools

@Andrepartthree
Copy link
Author

Andrepartthree commented Feb 4, 2022

Thanks ElleKayEM that ASIN info is super helpful making a note of that :) ...

additional note - even after following the steps I mentioned above as far as logging into the big a account you may still need to right click on the comic in your kindle library and select the "download" option.

Also as you might be able to guess from what I mentioned above you're looking for an "azw" file.

Also unfortunately the quality of the results varies :( ... for a single comic it did a beautiful job of converting it to a pdf file... for larger comics like say a graphic novel (in this case a collection of five comics together in a single volume) not so great... calibre inserted a blank page after each comic book page and it looks slightly distorted when viewed as a pdf.... results are somewhat better if you view it within calibre itself as an ebook reader in terms of removing the distortion of the scanned comic book panels, but you still have that blank white page appearing after every comic book page. This happened even after I went to the link ElleKayEm helpfully provided and installed what I think is the most recent version into calibre (thanks for that ElleKayEm :) )

(further edit and update - tried it on a second graphic novel , about six comics or so bundled together - no blank white pages inserted but still slightly distorted and stretched out lengthwise compared to the original far as the comic book panels )

So unfortunately still not as good as Cortys's wonderful program, at least in my experience :( ...

@ElleKayEm
Copy link

DeDRM just removes the DRM on import to calibre. Conversion may involve a learning curve -- calibre has a lot of things to tweek. And depending on what Amazon format you're dealing with there may be other plugins that can help.

@Andrepartthree
Copy link
Author

ElleKayEm my apologies I just clicked on your profile and saw that you contributed to the same DeDRM project I was whining about... so my apologies no offense intended ! And I do get what you're saying, Calibre has problems with conversion itself ... did some google research there are others who report stretched images and tinkering they had to do .. but from what I can see looks like the tinkering doesn't always work, I tried one tactic recommended on the Calibre forum page with no luck... so looks like Jeff Bezos wins I'm stuck with amazon kindle come February when they roll out the changes :( (cripes isn't the big a ... well BIG and powerful enough to begin with? Why couldn't they just leave comixology alone as is?) ... but again ElleKayEm thanks again so much for all the comments and advice and attention :)

@ElleKayEm
Copy link

No worries. I prefer Cortys's program for this myself. I suspect Amazon may be responding to publishers' paranoia about digital rights.

I really haven't messed with conversion myself, but I'd think there'd be a way to preserve original aspect ratio. If nothing else, you might be able to pull the page scans out and zip them up into a cbz once DRM is removed. The demand for some solution will be bigger than ever. So hopefully someone will figure it out and share.

@saltmanz
Copy link

saltmanz commented Feb 11, 2022

So I've been using Calibre and DeDRM for a long time. Not too long ago, I tried playing around with using it to convert Kindle comics (downloaded as AZW3s) to CBZs or PDFs, but had no luck. (The convert to PDF option is right there, but never works out: I always get a big white border around everything, and it takes forever to run.)

I may have just figured something out, though: I used Calibre to convert to a ZIP, then when you open up the ZIP directory, there's a folder ending in "_files". Opening that up gives an images folder containing all of the pages except the cover, which is in the _files folder. Extract the cover (rename it 00000.jpeg) along with all the images, then zip them all back up and rename them to a CBZ, and you're done!(*)

Compared to a DRM-free download (from IDW) the image sizes are smaller (looks like Am**** tops out at 1920px, where IDW downloads from Co******** are 3056px) however, that stills put them larger than what the plugin gave me (1650px) and they're crisp and clean without any of the muddiness from JPG compression.(**)

I want to play with this a little more, but it looks like I may have found my solution.

(*) See my comment below: it's sufficient to just rename the converted ZIP to CBZ if you don't mind some extraneous files.
(**) After doing a lot of these conversions, there are still some quality tradeoffs, but I'd say the image quality is more-or-less equivalent to the downloader extension. I've seen some issues look much sharper and cleaner, and I've some look a little muddier. It likely all depends on whatever method Amazon used to compress the images for each individual comic.

@Andrepartthree
Copy link
Author

Thanks so much for this Saltmanz this worked for me :) ... as you said the image sizes are smaller which means the resolution and how "nice" the individual comic book pages look in a comic book reader program is "lower" and hopefully someone will come up with a co***** style program for kindle similar to Cortys's that can do a similar scan at the higher resolution but - that's not a complaint by any means I'm just grateful you brainstormed something that works so at least we have an option as opposed to being forced into using kindle whenever we want to read our comic purchases ... again thank you ! :)

@saltmanz
Copy link

It's even simpler than what I originally posted: you can just rename the ZIP that Calibre spits out to a CBZ and you're done. That leaves like 0.1MB of extraneous files you don't need, though. I've started just extracting the cover.jpeg and images/ folder and re-zipping those.

@tomchiverton
Copy link
Collaborator

Did you file a bug with Calibre about 'to PDF' not working?

I can vouch for DeDRM as been using it to back up Kobo (Adobe DRMd) books for years

@gnamyl
Copy link

gnamyl commented Aug 15, 2022

So, i finally got around to facing the music. UGH. Calibre and NoDRM works fine, I downloaded a file using Kindle for PC to my laptop, and then used Calibre to write to a ZIP, renamed to a CBZ, and it quite easily loaded up in CDisplayEX (my favorite reader on the PC). I note the filesize is tiny compared to almost everything else i have from back in the day. when I look in the amazon kindle folder there is a "*.AZW.RES" file - it's about on par with what I would expect from the true file size. Anyone do any more detective work on how this all comes together? I wish for the old days. :-(

@ElleKayEm
Copy link

I believe this may be what you are looking for: https://github.com/HamsterExAstris/calibre-azw6-image-merge

Haven't tested it myself.

@gnamyl
Copy link

gnamyl commented Aug 16, 2022

I believe this may be what you are looking for: https://github.com/HamsterExAstris/calibre-azw6-image-merge

Haven't tested it myself.

It's not at all what I was looking for (I don't know that I knew what in fact I was looking for) but I see it may do what I want. Therefore, I say, thank you kindly.

@gnamyl
Copy link

gnamyl commented Aug 16, 2022

I believe this may be what you are looking for: https://github.com/HamsterExAstris/calibre-azw6-image-merge

Haven't tested it myself.

this is nifty. I'm not sure I see any visual difference in quality using CBZ but there is definitely a difference in the size of the jpgs of each page. without that image-merge, 7MB total file size vs. 48MB with it. the jpg's in the CBZ (zip file) are significantly bigger, so it is doing its job. thanks again for passing that on.

@ElleKayEm
Copy link

Good to hear!

@tomchiverton
Copy link
Collaborator

well

When I go to https://www.amazon.co.uk/Sandman-1988-1-NEIL-GAIMAN-ebook/dp/B00CIGXTAM/ref=sr_1_1?qid=1660765101&rnid=4290991031&s=digital-text&sr=1-1 I get a "send free sample to cloud read"

This ends up with me at https://read.amazon.co.uk/manga/B00CIGXTAM?sample=true&ref_=dbs_t_r_mwr where something very like the old "c" view appears

It even uses canvas to hide the images in, which natively are mix up in a fairly large grid, just like we used to see.

So I'd be hopeful you could buy a "a" book, send it to this cloud reader, and save it from there, without too much hassle.

This would be easy than having to use Kindle For PC (which may or may not even run on Linux or Mac)...

@ElleKayEm
Copy link

Save from cloud reader?... like comic-backup did for comixology?

For Mac, there's Kindle for Mac. But for Linux, you'd need to run Kindle for PC under Wine.

@tomchiverton
Copy link
Collaborator

Although, as others said above, I already use Calibre.

Kindle for PC runs fine under Wine (-staging, Ubuntu 22.04) as does the DeDRM plugin and tools, same as when using Digital Editions with Kobo.

So maybe there's no need for this project any more.

@ToofDerling
Copy link

ToofDerling commented Oct 13, 2022

Cheers all. It turns out there's no drm on comic book azw files in the Kdl app, so I made a tool called CbzMage for all your Kdl backup needs: https://github.com/ToofDerling/CbzMage

Let me know what you think :)

@sidick
Copy link

sidick commented Oct 17, 2022

Cheers all. It turns out there's no drm on comic book azw files in the Kdl app, so I made a tool called CbzMage for all your Kdl backup needs: https://github.com/ToofDerling/CbzMage

Let me know what you think :)

Mac version please 👍

@ToofDerling
Copy link

Mac version please

You got it. Let me know if it works as expected (but not here please, this is all Corty's playground :))

@zimdog1701
Copy link

Cheers all. It turns out there's no drm on comic book azw files in the Kdl app, so I made a tool called CbzMage for all your Kdl backup needs: https://github.com/ToofDerling/CbzMage

Let me know what you think :)

Mac version please 👍

Have you used CbzMage on the Mac? If so, I could use a few pointers...

@ElleKayEm
Copy link

You're probably running into the KFX format now which always has DRM. In most cases it can be removed with calibre plugins DeDRM 10.0.9 and KFX Input.

@zimdog1701
Copy link

Thanks - For what it's worth, the file extensions I see when I drill down into the individual folders for each book are KCR and MBP (and MBPV2). Does that confirm your suspicion or provide any other insight?

I have Calibre 7.1.0 installed and will investigate DeDRM and KFX Input.

@ElleKayEm
Copy link

Not kfx, but another oddball format that more recent versions of Kindle for Mac uses. In the Kindle app, remove the book and download again using right-click on mouse and selecting "Download", or use menu bar "File > Download". Do NOT open the book. Then the main file should have an azw extension. Not sure if this will then be kfx or will have DRM. May depend on the book. But you should be able to remove it with those plugins for the calibre ebook program.

@zimdog1701
Copy link

zimdog1701 commented Dec 6, 2023

Hmmm... just tried that with several books, only one showed up with an AZW extension. The rest all had KCR extensions. I'll try to work with these files later tonight and see what happens.

@ElleKayEm
Copy link

Okay, I don't have a Mac myself. Not sure what it means that those redownloaded in KCR. According to this post over at MobileRead, you should be able to get books you can DeDRM from Kindle Classic for Mac 1.40.2.

@zimdog1701
Copy link

zimdog1701 commented Dec 10, 2023

I've had some more time to work on this today...

Finding no way to download comics in the KFX format on K4M (only KCR) - even when going back and installing K4M 1.29.58033 (Aug 2020), I switched over to my PC running K 1.30.0, which did download AZW files.

  1. CbzMage had a fatal error: InvalidDataException: Failed to load configuration from file 'C:\Users\charl\CbzMage1.0_Win\AzwConvertSettings.json'.

(The file was right there, and had been updated with the location of My Kindle Content. So I gave up on that.)

  1. Calibre 7.1.0 (with DeDRM) on the PC appeared to work, but pages ~2-5 of the first two books I tried to convert had distorted/black pages in the Calibre viewer, as well as in the PDF and EPUB files I exported. The third book appeared to be fine, however. So that was hopeful.

  2. To see if I'd have better luck converting the first and second books using Calibre on the Mac, I copied over the AZW files from the PC to the Mac, but they had the same issues with pages ~2-5.

Note - Calibre on the Mac could only view or convert the AZW files copied over from the Calibre library on the PC. If I tried to work with the original AZW files downloaded via Kindle, I'd get a DRM error (despite having the DeDRM plugin installed.)

  1. Having at least gotten a positive result with one file, I forged ahead and exported it as a Zip file, and then was able to replace the extension with "CBZ" and open it with Simple Comic on the Mac.

  2. Further emboldened, I went back to the files with distorted/black pages and exported those as Zip files as well. Lo and behold, upon replacing the Zip extensions on those files, they opened up in Simple Comic as well - and the distorted/black page issue was RESOLVED!

(It appears to have been a pagination issue, with both books having a two-page spread immediately following the first interior page.)

SO - thanks for your help ElleKayEm!

@ElleKayEm
Copy link

If the comics are published before 3 Jan 2023 (which they must be if you're able to download them with older versions of Kindle for Mac/PC), then try turning off KFX downloads so you can get them in the older format azw3. They may convert better. See method 2b in the "spoiler" at this post: https://www.mobileread.com/forums/showthread.php?t=283371

@zimdog1701
Copy link

If the comics are published before 3 Jan 2023 (which they must be if you're able to download them with older versions of Kindle for Mac/PC), then try turning off KFX downloads so you can get them in the older format azw3. They may convert better. See method 2b in the "spoiler" at this post: https://www.mobileread.com/forums/showthread.php?t=283371

Ah, well, I never even got KFX downloads, but I'll give this a try just to see what happens.

Meanwhile, is there a trick to getting DeDRM (10.0.3) to work with Calibre (7.1.0) for the Mac?

@ElleKayEm
Copy link

Recommend DeDRM 10.0.9. But what do you mean by getting it to work? Not loading? Or not removing DRM?

@zimdog1701
Copy link

zimdog1701 commented Dec 10, 2023 via email

@ElleKayEm
Copy link

If you still have trouble, start an issue over at noDRM's repo and post a debug log: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md#i-cannot-solve-my-problem-with-the-dedrm-plugin-and-now-i-need-to-post-a-log-how-do-i-do-that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants