Comments (9)
I think it's wkhtmltopdf limit, you can easy check this by request generate pdf from html in the console
from knpsnappybundle.
Thanks a lot man.
from knpsnappybundle.
But it creates images from the html with images of cmyk colorspaced . I checked the resulted image and it is also CMYK colorspaced. I used a cymk colorspaced image(size of 7 mb) but the resulted image size is 700kb.
from knpsnappybundle.
check this is issue https://code.google.com/p/wkhtmltopdf/issues/detail?id=379 latest comment will give you solution
from knpsnappybundle.
The new official wkhtmltopdf issue for this is wkhtmltopdf/wkhtmltopdf#39 - as you can see, it's closed with an UpstreamChangeNeeded label. This will most likely need to be supported in WebKit and then QT before it can be supported by wkhtmltopdf and then snappy et al.
from knpsnappybundle.
hi
Any patch for this issue
from knpsnappybundle.
@akshayodesk unfortunately, I am sorry to say that no, there is no resolution in wkhtmltopdf itself because it is dependent on QT CMYK patch. I suggest to use RGB meanwhile.
from knpsnappybundle.
@akovalyov i have some html with embedded cmyk images
I need to convert it to pdf cmyk .
How should i proceed
I am a developer and ready to modify the qt webkit source code if required.
Thanks
from knpsnappybundle.
@akshayodesk as stated, I suggest you to convert your images if possible.
You can also try http://stackoverflow.com/questions/12819716/wkhtmltopdf-how-do-i-increase-the-pdf-quality-of-a-document-generated/12843619#12843619 solution and use --enable-smart-shrinking
option in Snappy.
All the source you need you can find in https://github.com/wkhtmltopdf.
Bon courage.
from knpsnappybundle.
Related Issues (20)
- User deprecations in log HOT 4
- Most of options not working HOT 1
- PDF is generated, but message saying format is wrong. HOT 4
- Header and Footer are not displayed HOT 1
- wkhtmltopdf does not support es6 HOT 3
- Warning: Blocked access to file HOT 1
- You must define a binary prior to conversion HOT 4
- Symfony 5 + knp_snappy - failed to load and blocked access errors HOT 9
- Critical CVE in snappy HOT 2
- Symfony 6 + Webpack encore. Css bootstrap not load when export to pdf HOT 9
- Exit with code 1 due to network error: SslHandshakeFailedError (prod env) HOT 4
- JS present inside the twig file not executing HOT 1
- How to use it in cpanel? HOT 1
- Error Installation HOT 2
- wkhtmltopdf has been archived since Jan 2, 2023 HOT 1
- Page Number and Page Header HOT 2
- Version 1.9 is not compatible with Symfony 7.0 HOT 2
- Crash on a too long filePath HOT 1
- impossible to copy content in prod environment HOT 5
- Provide support for filenames with special characters. HOT 6
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 knpsnappybundle.