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
[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 - Create a bitmap with custom config

Create a bitmap with custom config

All your problems with Audio, Video and Images.

Create a bitmap with custom config

Postby marcelloma » Thu May 07, 2009 10:02 pm

Is there a function to create a "Bitmap" from a R.drawable.x object and setting the Bitmap.Config too?
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. Bitmap.Config   ALPHA_8          
  2.  
  3. Bitmap.Config   ARGB_4444        
  4.  
  5. Bitmap.Config   ARGB_8888        
  6.  
  7. Bitmap.Config   RGB_565        
Parsed in 0.012 seconds, using GeSHi 1.0.8.4


There are many combinations of Bitmap.createBitmap and BitmapFactory.decodeResource but none of them includes both resource id and Bitmap.Config :/ and I think a double step is very expensive in this case.
marcelloma
Junior Developer
Junior Developer
 
Posts: 12
Joined: Wed Mar 18, 2009 4:31 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: Google [Bot] and 9 guests