We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › Drawing images into images
Page Index Toggle Pages: 1
Drawing images into images (Read 237 times)
Drawing images into images
Nov 17th, 2008, 11:32am
 
Hi,
For a artwork project I need to create huges images (12000x12000 pixels)
So for that I use the createImage() function.
In this big image, I need to draw (100000 X) a small bitmap image reference at different size color and orientation.
How can I do that?

I don't want to draw directly into the screen using image() function because I don't have a 12000 x12000 screen resolution.... Wink (unless there is a zoom option for the screen but I don't think so)

Thanks
Re: Drawing images into images
Reply #1 - Nov 17th, 2008, 12:42pm
 
Although done at a much smaller scale, I did something similar (to show how to use transparency): Re: saving image file with transparency problem.

You can load and manipulate images off-screen, using PImage object.

You might already know that, but perhaps you will need to adjust memory settings of the JVM to handle such image.
Re: Drawing images into images
Reply #2 - Nov 17th, 2008, 1:17pm
 
Thanks It works very well.
Page Index Toggle Pages: 1