Spike Posted August 29, 2006 Share Posted August 29, 2006 Hi, Very new to this so spologies if I've missed something, but is it possible to set up a report that generates CMYK colours in the output PDF rather than RGB? This is because I need to use the generated PDF in a document for professional digital print, not for on-screen or desktop-laser printing. I'd also be interested to know if you can specify a spot colour+tint but that's not as important right now. Many thanks, Paul. Link to comment Share on other sites More sharing options...
bklawans Posted August 30, 2006 Share Posted August 30, 2006 JasperReports currently only supports the default Java sRGB color space. The Java imaging libraries have support for CMYK, but I don't know how widely supported it is. For instance, the PDF library we use (iText) ended up writing its own implementation of the CMYK colors, which makes me guess that the built in support is minimal. I also don't know if the charting package supports CMYK. I guess its doable, but nobody has done it to date. Want to volunteer? :) Java has very poor support for spot colors, so that would be a significantly harder effort. The standard constructors for custom colors take a color space and a bunch of floating point numbers, so that won't handle spot colors, where I imagine the color space would be something like "PANTONE" and the color definition would be a string. -Barry Link to comment Share on other sites More sharing options...
sandermoelands Posted October 4, 2006 Share Posted October 4, 2006 Hi, I would like to know if anyone started on implementing the CMYK image model yet. I need to use CMYK colors for my PDF exports too. If nobody has, than I will probably implement it myself and provide it back to the Jasper community, but if somebody already started it, then maybe I can help or beta test it. Regars, Sander Link to comment Share on other sites More sharing options...
Teodor Danciu Posted October 5, 2006 Share Posted October 5, 2006 Hi, We have not started anything in this direction.So if you think you can help, that would be great! Thank you,Teodor Link to comment Share on other sites More sharing options...
sandermoelands Posted October 8, 2007 Share Posted October 8, 2007 Hi, A little bit late reply, but I have got some great news. I finally found some time to add CMYK support to JasperReports. I just have 2 quick questions to really get me started with this project: Which version of Jasper should I use to add the support? Is it best to use the head from the repository or should I use the latest release version?I would like to pass by some ideas with the community before implementing them, what is the best place to do this, should I just add updates to this forum thread, or should I use a different location?[/ol] My goal is to implement it in such a way that everybody is happy about it and so it can be added to the base of jasper. That's is why I'd like to pass by and discuss some of the ideas I have on the addition of CMYK support. regards,Sander Link to comment Share on other sites More sharing options...
lucianc Posted October 15, 2007 Share Posted October 15, 2007 Hi,and sorry for the late reply. You can safely use the SVN head, the code is generally stable. But there's no issue in using the code of a release it you prefer it, it shouldn't be very difficult to merge a patch into the SVN head.The discussions on the implementation should take place on this forum. You can create a new topic on this subject.[/ol] Thank you for your efforts on improving JasperReports! Best regards,Lucian Link to comment Share on other sites More sharing options...
sandermoelands Posted October 22, 2007 Share Posted October 22, 2007 Hi Lucian, I just opened a new Thread for discussing the addition of CMYK support in JasperReports. I will post my ideas in that Thread. The Thread can be found here: Addition of CMYK Support in JasperReports Kind regards, Sander Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now