<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.newlc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>NewLC - How to Display PNG file in Series 60 mobile phone? - Comments</title>
 <link>http://www.newlc.com/forum/how-display-png-file-series-60-mobile-phone</link>
 <description>Comments for &quot;How to Display PNG file in Series 60 mobile phone?&quot;</description>
 <language>en</language>
<item>
 <title>Re: How to Display PNG file in Series 60 mobile phone?</title>
 <link>http://www.newlc.com/forum/how-display-png-file-series-60-mobile-phone#comment-43808</link>
 <description>&lt;p&gt;ok thanks...&lt;/p&gt;</description>
 <pubDate>Mon, 07 Jan 2008 13:15:37 +0100</pubDate>
 <dc:creator>brajesh1983</dc:creator>
 <guid isPermaLink="false">comment 43808 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: How to Display PNG file in Series 60 mobile phone?</title>
 <link>http://www.newlc.com/forum/how-display-png-file-series-60-mobile-phone#comment-43804</link>
 <description>&lt;p&gt;Unfortunately I don&#039;t know of any good tutorial for it...&lt;br /&gt;
But if you search for &quot;CImageDecoder&quot; and &quot;CImageEncoder&quot; on this forum, you will get lots of examples, and can learn from others mistakes.&lt;/p&gt;

&lt;p&gt;DSA is &quot;Direct Screen Access&quot;, meaning that your app draws directly to the screen, instead of (as normal apps) do all screen drawing through the Window Server.&lt;br /&gt;
To do this you have to use an api called CDirectScreenAccess, to be able to cooperate with the window server.&lt;br /&gt;
(You use the api to tell wserv you want to take over drawing for a specific window, and wserv in turn will tell you where on the screen this window is currently showing, and notify you if it moves)&lt;br /&gt;
It should be avoided though unless you really need it, and mostly you don&#039;t need it.&lt;br /&gt;
&lt;/p&gt;</description>
 <pubDate>Mon, 07 Jan 2008 12:41:59 +0100</pubDate>
 <dc:creator>alh</dc:creator>
 <guid isPermaLink="false">comment 43804 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: How to Display PNG file in Series 60 mobile phone?</title>
 <link>http://www.newlc.com/forum/how-display-png-file-series-60-mobile-phone#comment-43798</link>
 <description>&lt;p&gt;Thanks alh,&lt;/p&gt;

&lt;p&gt;No , i am not using DSA but what is it ? will u tell me please..&lt;/p&gt;

&lt;p&gt;And i request you to give me a good link of tutorial regarding &lt;span style=&quot;font-weight:bold&quot;&gt;Image Decoding and Encoding....&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Brajesh...&lt;/p&gt;</description>
 <pubDate>Mon, 07 Jan 2008 11:49:06 +0100</pubDate>
 <dc:creator>brajesh1983</dc:creator>
 <guid isPermaLink="false">comment 43798 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: How to Display PNG file in Series 60 mobile phone?</title>
 <link>http://www.newlc.com/forum/how-display-png-file-series-60-mobile-phone#comment-43795</link>
 <description>&lt;p&gt;CFbsBitmap is the symbian API for managing bitmaps _after_ they have been loaded into memory.&lt;br /&gt;
Its a handle to the pixel information stored in memory and has no relation at all to file image formats like bmp, png and jpg.&lt;br /&gt;
When you load the image from file, it is &quot;decoded&quot;, decoding can be simple like with bmp, or more advanced like in jpg.&lt;/p&gt;

&lt;p&gt;For the more advanced formats like png and jpg, you use the class CImageDecoder to read them into memory (into CFbsBitmaps) and CImageEncoder to write CFbsBitmaps to files.&lt;/p&gt;

&lt;p&gt;The flickering could be due to you doing too much work in the Draw function, this function must be as light weight as possible.&lt;br /&gt;
Never, EVER load bitmaps in it for example.&lt;br /&gt;
Also try to avoid any scaleing. Its better to pre-scale and display the scaled bitmap instead of dynamically scale in the Draw function.&lt;/p&gt;

&lt;p&gt;Or are you using DSA? Then there is a whole bunch of more reasons it could flicker.&lt;br /&gt;
&lt;/p&gt;</description>
 <pubDate>Mon, 07 Jan 2008 10:55:33 +0100</pubDate>
 <dc:creator>alh</dc:creator>
 <guid isPermaLink="false">comment 43795 at http://www.newlc.com</guid>
</item>
<item>
 <title>How to Display PNG file in Series 60 mobile phone?</title>
 <link>http://www.newlc.com/forum/how-display-png-file-series-60-mobile-phone</link>
 <description>&lt;p&gt;&lt;span style=&quot;font-weight:bold&quot;&gt;Hi Everybody&lt;/p&gt;

&lt;p&gt;Happy New Year 2008.&lt;/p&gt;

&lt;p&gt;I want to display a PNG or JPG file in series 60 mobile phone but i dont know how to do it.When i display high resolution bmp file the emulator shows filicking image.&lt;br /&gt;
I am using CFbsBitmap class to display bmp file .Is any other class for jpg display or png display?&lt;/p&gt;

&lt;p&gt;Please give me some idea to solve the problem.&lt;/p&gt;

&lt;p&gt;Brajesh...&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/forum/how-display-png-file-series-60-mobile-phone&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/forum/how-display-png-file-series-60-mobile-phone#comments</comments>
 <category domain="http://www.newlc.com/forums/2d-3d-graphics">Bitmaps and Graphics</category>
 <pubDate>Wed, 02 Jan 2008 08:47:54 +0100</pubDate>
 <dc:creator>brajesh1983</dc:creator>
 <guid isPermaLink="false">19916 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
