Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Generate a PNG pixel by pixel then save it?

Generate a PNG pixel by pixel then save it?

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Generate a PNG pixel by pixel then save it?

Postby Jorenm » Sun Jan 10, 2010 8:40 am

How can I do this?
Jorenm
Junior Developer
Junior Developer
 
Posts: 22
Joined: Sat Nov 28, 2009 9:16 am

Top

Postby forsan » Sun Jan 10, 2010 3:39 pm

forsan
Freshman
Freshman
 
Posts: 9
Joined: Wed Jan 06, 2010 2:36 pm

Postby Jorenm » Mon Jan 11, 2010 12:15 am

Does this all apply to android?
Jorenm
Junior Developer
Junior Developer
 
Posts: 22
Joined: Sat Nov 28, 2009 9:16 am

Postby forsan » Mon Jan 11, 2010 12:22 am

well im pretty new with android so i cant say to a 100% but java is still java even if you run it on an android phone. Just read those 2 links and try.
forsan
Freshman
Freshman
 
Posts: 9
Joined: Wed Jan 06, 2010 2:36 pm

Re: Generate a PNG pixel by pixel then save it?

Postby pskink » Mon Jan 11, 2010 12:33 pm

Jorenm wrote:How can I do this?


pseudo-code:

Bitmap b = Bitmap.createBitmap(w, h, type)
Canvas c = new Canvas(b)

c.drawSomething()

b.compress(...)

pskink
pskink
pskink
Master Developer
Master Developer
 
Posts: 719
Joined: Mon Nov 24, 2008 3:49 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 2 guests