How can I save large DisplayObjects without cropping?

In the release notes of build 2090, there’s this:

• Add the ability to save large DisplayObjects, without cropping, to display.save() and display.capture().

How can I save DisplayObjects at full resolution? I’ve tried, but it always crops the output.

Can’t find any info in the updated docs either…

I’m assuming there’s some sort of flag somewhere, but I can’t find any info about it…

This is amazing if true so I too would love to know. Thanks.

I’ll see what I can find…

Rob

It seems the docs got pushed into the public API docs instead of the daily docs.  Just to be clear:  The feature is in the Daily Builds, the Docs are in the Public Builds.  Here is the URL

http://docs.coronalabs.com/api/library/display/capture.html

Rob

Fantastic!

There’s a typo in the docs though. baseDirectory doesn’t work, but baseDir does.

I reported it with the “Like it, but…” button on the docs page.

We will get that fixed.  Thanks for reporting it.

Rob

It also looks like display.save() doesn’t work with large containers.

I put an image in a container and it displays fine on the screen, however display.save() only saves a black image (with the correct pixel dimensions though).

Strike that. My test code was saving the container in the same render pass as when the container was created.
It works well by just waiting for the next render pass.

I’m assuming there’s some sort of flag somewhere, but I can’t find any info about it…

This is amazing if true so I too would love to know. Thanks.

I’ll see what I can find…

Rob

It seems the docs got pushed into the public API docs instead of the daily docs.  Just to be clear:  The feature is in the Daily Builds, the Docs are in the Public Builds.  Here is the URL

http://docs.coronalabs.com/api/library/display/capture.html

Rob

Fantastic!

There’s a typo in the docs though. baseDirectory doesn’t work, but baseDir does.

I reported it with the “Like it, but…” button on the docs page.

We will get that fixed.  Thanks for reporting it.

Rob

It also looks like display.save() doesn’t work with large containers.

I put an image in a container and it displays fine on the screen, however display.save() only saves a black image (with the correct pixel dimensions though).

Strike that. My test code was saving the container in the same render pass as when the container was created.
It works well by just waiting for the next render pass.