Git Product home page Git Product logo

Comments (9)

pilot avatar pilot commented on June 14, 2024

I think it's wkhtmltopdf limit, you can easy check this by request generate pdf from html in the console

from knpsnappybundle.

malisetti avatar malisetti commented on June 14, 2024

Thanks a lot man.

from knpsnappybundle.

malisetti avatar malisetti commented on June 14, 2024

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.

pilot avatar pilot commented on June 14, 2024

check this is issue https://code.google.com/p/wkhtmltopdf/issues/detail?id=379 latest comment will give you solution

from knpsnappybundle.

Req avatar Req commented on June 14, 2024

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.

devteam4509 avatar devteam4509 commented on June 14, 2024

hi
Any patch for this issue

from knpsnappybundle.

akovalyov avatar akovalyov commented on June 14, 2024

@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.

devteam4509 avatar devteam4509 commented on June 14, 2024

@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.

akovalyov avatar akovalyov commented on June 14, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.