hi göran, if you have a *printed picture* of the physical size 1 x 1 inch with 300 dpi, then the *image in memory* is simply of size 300 x 300 dots (=pixels), because "dpi" means "dots per inch". what size do you want to print? say you want to print 15 inch times 10 inch with 800 dpi, then you just have to size your canvas 15*800,10*800 = 12000x8000 pixels. the formula is: pixel size = printing size * dpi e.g. widthInPixels = 15 inch * 800 dpi = 12000 heightInPixels = 10 inch * 800 dpi = 8000 many printers that say "300 dpi" do not actually print 300x300 true-color pixels in one square inch, because they need to use several printer dots for "mixing" (dithering) the true color pixels. in this case, there is no need to use the full resolution but only half or a quarter the resolution, depending on the specific dithering algorithm of your printer type/printer driver. you can check this by printing with different resolutions and comparing the results, or by consulting your printer manual. btw: 1 inch is 25,4 mm -- julian -----Original Message----- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]On Behalf Of Göran Falkman Sent: Monday, February 28, 2000 9:01 AM To: [EMAIL PROTECTED] Subject: [JAVA3D] Capturing the Canvas3D: High resolution printing Hi! I have an addition to Juan's question below. I want to save the contents of a Canvas3D to an image file (any format will do). In the end, this image will be printed on a high resolution printer. I've tested an idea based on the OffScreenCanvas3D demo. But what I can't figure out is how to get an off-screen image with a specific resolution (e.g. 800 dpi). Ideally, I would like to be able to (programmatically) say something like "render the contents of the Canvas3D into an off-screen image with resolution r dpi and (physical) width x mm and height y mm in that resolution". Is this possible? Thanks for any help, Göran Falkman ([EMAIL PROTECTED]) > Hi everybody: > > I'd like to know how can I capture an image from a Canvas3D and store it in > any format. > Imagine that I have a frame along with its JPanel object, which contains a > Canvas3D which displays a 3D cube, and I want to now how can I save the > cube's image via programming, and write it either into a JPG file or into a > GIF file > > Thanks for any help > > Juan Miguel > > =========================================================================== > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff JAVA3D-INTEREST". For general help, send email to > [EMAIL PROTECTED] and include in the body of the message "help". > =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help". =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".