Projects > cpp > Issues > Bug #3088

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

cant't save correct frame image on some devices

Bug #3088 [Closed]
honghui.zhang@chukong-inc.com 2013-10-30 07:23 . Updated about 2 years ago

I want to save my game screen in a jpg file when click a button using this way:
1.in the button click callback function,using glPixelStorei, glReadPixels.
2.then initWithImageData a CCImage from the memory.
3.call CCImage::saveToFile().

it work fine on most of the devices,but the image file is black when i using GT-I9100.

walzer@cocos2d-x.org 2014-10-08 02:57

Redmine issue system is closed, we are using github issue system instead.

This issue was moved to https://github.com/cocos2d/cocos2d-x/issues/8241

Atom PDF

Status:Closed
Start date:2013-10-30
Priority:Low
Due date:
Assignee:-
% Done:

0%

Category:-
Target version:-

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.