Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Contributor
andemartini
Posts: 41
Registered: ‎11-08-2011
My Carrier: ATT

Renamed Thread: How to get JPEG image of entire website using BrowserField

[ Edited ]

*I renamed this thread*

 

Basically, how can I render a web page in a BrowserField and then get a full resolution JPEG of the rendering?

 

*********

 

Hi All,

 

I wish to make a MainScreen that is larger than the Display size of the device.

 

Basically I want to put a BrowserField in the MainScreen, and set to 1:1 ratio and then call Display.Screenshot to get a full resolution image of the web page.

 

Is this possible?

Please use plain text.
Developer
Dionysus
Posts: 152
Registered: ‎07-28-2011
My Carrier: MTN

Re: Renamed Thread: How to get JPEG image of entire website using BrowserField

Unfortunately, Display.screenshot() only allows the dimensions of the screen. You will get an IllegalArgumentException if you pass a bitmap with dimensions larger than that of the screen.

Please use plain text.