That's not the problem as I am able to properly display the RB Picture in an RB Canvas control - actually can do so with MUCH larger pictures.
Our app allows users to rasterize PDFs at resolutions up to 300 ppi (which we do using your plug-ins), and we have never had a complaint about this sort of corruption even on PDFs up to 75 inches (75 X 300 = 22,500). At some point, RS does fail to be able to create the picture, but the limitation is WAY higher than what we are running into here. The feature I am trying to implement now is to create a PDF containing the results of that rasterization. I could try writing a file to disk before creating the CGImageMBS, but it would be a shame to have to do so since the image exists only in memory at the moment. I've just simulated the problem by drawing your MBSLogo into a 5000 X 5000 RB picture, and then placing that in an appropriately sized PDF page. The RB picture is fine, but the CGImageMBS is corrupt. --pt On Apr 29, 2011, at 12:02 AM, Christian Schmitz wrote: > > Am 29.04.2011 um 01:18 schrieb Peter Truskier: > >> Hi, >> >> Am I doing something wrong? If not, do you know what the limitation >> is? > > I think the RB Picture class has limits. Something like 4000 Pixels. > > You could try with CGCreateImageFromPNGDataProviderMBS or > CGCreateImageFromJPEGDataProviderMBS to workaround that. > > Greetings > Christian > > -- > See you in Essen, Germany at the REAL Studio Conference 2011 > > Registration and details here: > http://www.realsoftware.de/events/realcon2011essen/ > > > _______________________________________________ > Mbsplugins_monkeybreadsoftware.info mailing list > [email protected] > https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
