Thursday, February 19, 2009

Making OpenGL ES Screenshot

The Bit-101 Blog has an entry that shows how to take a screenshot when using OpenGL ES. I tested this in my much-delayed particle-generator app, and it works as advertised.

In fact, here's a screenshot generated by this code, just to prove it works (and to show that the particle generator is not completely fictitious by this point):





6 comments:

Prince said...

Great link! I have sucessfully used this in my code as well. I have one problem with this - the resulting PNG does not have an alpha channel. Is there any way to get an alpha channel (I want to be able to overlay the saved image over another)? You can verify that by downloading the saved PNG to the computer and doing a "Get Info" on it. The info window shows "Alpha channel:0".

tom said...

Definitely helpful! Does anyone know where to find high-res iphone images to use as background for screenshots? The few I've found all have too much glare or some other issue..

tom said...

If anyone's interested in an image of the iphone for their screens, just use the one inside the simulator app!

Edwin said...

scrub m65 kamagra attorney lawyer body scrub field jacket lovegra marijuana attorney injury lawyer

JeansPilot said...

JeansPilot offers the chance to buy a large variety of men’s and women’s jeans clothing from the world famous Italian Brands.
Online jeans clothing store looks for original fashion clothing sales and clearances of worldwide known designers. We participate in fashion auctions to get the lowest possible price for Top quality Clothes, Shoes and Accessories.
Buy Jeans

h4ns said...

What youre saying is completely true. I know that everybody must say the same thing, but I just think that you put it in a way that everyone can understand. I also love the images you put in here. They fit so well with what youre trying to say. Im sure youll reach so many people with what youve got to say.

Arsenal vs Huddersfield Town live streaming
Arsenal vs Huddersfield Town live streaming
Wolverhampton Wanderers vs Stoke City Live Streaming
Wolverhampton Wanderers vs Stoke City Live Streaming
Notts County vs Manchester City Live Streaming
Notts County vs Manchester City Live Streaming
Bologna vs AS Roma Live Streaming
Bologna vs AS Roma Live Streaming
Juventus vs Udinese Live Streaming
Juventus vs Udinese Live Streaming
Napoli vs Sampdoria Live Streaming
Napoli vs Sampdoria Live Streaming
Fulham vs Tottenham Hotspur Live Streaming
Fulham vs Tottenham Hotspur Live Streaming
AS Monaco vs Marseille Live Streaming
AS Monaco vs Marseille Live Streaming
Alajuelense vs Perez Zeledon Live Streaming
Alajuelense vs Perez Zeledon Live Streaming
Technology News | News Today | Live Streaming TV Channels