Large Image Export

2014-06-13 Thread Danno Ferrin
While working on a fun project I discovered that the Image Export limits the size of the export textures, mostly depending on your graphics stack. Here's one example: java.lang.RuntimeException: Requested texture dimensions (20581x245) require dimensions (0x245) that exceed maximum texture size

Re: Large Image Export

2014-06-13 Thread Kevin Rushforth
could be moved into 8u20 I meant 8u40. -- Kevin Kevin Rushforth wrote: This is RT-22073 https://javafx-jira.kenai.com/browse/RT-22073 which is currently targeted for 9, but could be moved into 8u20 if there was enough demand to fix it. The (rather ugly) app-level workaround is to break

Re: Large Image Export

2014-06-13 Thread Kevin Rushforth
This is RT-22073 https://javafx-jira.kenai.com/browse/RT-22073 which is currently targeted for 9, but could be moved into 8u20 if there was enough demand to fix it. The (rather ugly) app-level workaround is to break the operation up into 4Kx4K tiles, and render the tiles in a loop specifying

Re: Large Image Export

2014-06-13 Thread Danno Ferrin
So the limitation is in the snapshot code, not the target image code? This is actually a feasible workaround, so 8u40 would be grand but 9 is also just fine. Also, is 4K the lowest the texture size max will be? Or is there some API to query it? On Fri, Jun 13, 2014 at 9:38 AM, Kevin Rushforth

Re: Large Image Export

2014-06-13 Thread Kevin Rushforth
Yes, the limitation is in snapshot, although there are other places where we hit the same limit. When rendering an image via an InageView we do the tiling correctly. I haven't seen anything lower than 4K x 4X in practice, so that should be safe. We do query and keep the max texture size

Re: Large Image Export

2014-06-13 Thread Kevin Rushforth
The funny thing is I was sure I had typed 8u40, but my fingers had other ideas. :) -- Kevin Stephen F Northover wrote: ... a rare instance of Kevin getting a release name wrong! Steve On 2014-06-13, 11:39 AM, Kevin Rushforth wrote: could be moved into 8u20 I meant 8u40. -- Kevin