Comments (13)
If you open the epub on a PC do you still see the gray pages? The pdf might just have small gray images...
Unzip the epub and look in the images folder.
from kcc.
So on Calibre and when unzipping the epub, the gray pages are still there. I'm looking at the pdf and there doesn't seem to have small gray images in there other than the manga being black and white.
from kcc.
Are pages being replaced with gray? Or are additional gray pages being added?
from kcc.
Additional gray pages are being added.
from kcc.
Hmmm, my suspicion is that it's a problem with the source file. Are you able to obtain a CBZ instead (which can be unzipped as well)? Or an image folder? Can you test with just a folder of random .jpgs to see if you still get it? Or upload the source file here, or at least a couple pages?
from kcc.
So when I obtain the CBZ, it still is producing the same issues. The issue isn't here with a random JPG folder. Attached are some pages of the PDF, let me know if you need more information. Even testing the pdf with some pages attached still produces the gray pages.
よつばと! 第01巻_removed.pdf
from kcc.
I'll test myself soon. In the meantime, are you on the latest stable version 5.6.2?
from kcc.
from kcc.
A single gray pixel is being generated between pages.
The pdf file must have stray single gray pixels between pages... Are you able to get a better source?
from kcc.
Sorry, I don't have a better source for this :(
Is there a way to delete these files, I'm fine if I have to manually do it, but if I manually delete each single gray pixel file, how would I repackage the image files into an epub?
from kcc.
I would try another program to extract the images out of the pdf. And then use the extracted file in KCC.
If you feel brave try editing pdfjpgextract.py
from kcc.
I was testing the sizes of the images in pdf and got this. But this is obviously a very small test case.
And this is very hacky, please fix up the PR when you finish testing with comments.
Alternatively, there's probably a better way to extract images in 2023, that code hasn't been touched in like 10 years probably.
642423
160
302131
159
317957
160
And please change the title to reflect that's it's a pdf issue
from kcc.
Sorry, but what should I do with #546? I have the release version right now and there's no python file for me to edit in the release. Can you elaborate on what I should do to test this PR?
from kcc.
Related Issues (20)
- Kindlegen Conversion to Mobi HOT 3
- flatpak: stuck on Creating MOBI Files HOT 19
- Pocketbook Inkpad Color 3 settings HOT 3
- distutils Python 3.12 HOT 2
- [bug] failed to detect CBZ files using Add directory button HOT 3
- [feature suggestion] Chapter (CBZ files) merging/fusion checkbox HOT 3
- [Feature Request] Generate page-spread properties
- Conversion to mobi is not creating landscape pages HOT 2
- "(X) Install KindleGen (link)" - KCC not finding Kindle Previewer HOT 11
- KindleGen failed to create MOBI! HOT 6
- Annotation is being disabled when converting from cbz to epub HOT 2
- Hyperlink not resolved in toc (e24010/kindlegen) HOT 10
- Automatic output splitting doesn't work with archives HOT 1
- Manga mode do not work when converted to cbz format HOT 3
- Default color output for Color devices profile HOT 1
- Kobo Libra Colour HOT 4
- XCB Platform Plugin Issue HOT 3
- KCC 6.1 on Windows | No module named 'pkg_resources.extern' HOT 3
- General Question HOT 1
- I keep getting error message that software needs an update. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kcc.