<?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 use PNG images  - Comments</title>
 <link>http://www.newlc.com/forum/how-use-png-images</link>
 <description>Comments for &quot;how to use PNG images &quot;</description>
 <language>en</language>
<item>
 <title>Re: how to use PNG images </title>
 <link>http://www.newlc.com/forum/how-use-png-images#comment-45787</link>
 <description>&lt;p&gt;I&#039;m just surprised &lt;img src=&quot;/sites/all/modules/smileys/packs/example/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Even with wlan it sounds improbable to me that you would gain in the end from unpacking them server side...&lt;br /&gt;
Though I don&#039;t have any measurements of it, or on the performance of CImageDecoder&lt;/p&gt;

&lt;p&gt;In my experience though, CPU speed is not the limiting factor, 1st come network, then disk/file access, then buss speeds in the phone.&lt;br /&gt;
At least two of those get heavy hits if you transfer more data then needed, and easily the third too if you cache your images.&lt;/p&gt;

&lt;p&gt;But don&#039;t take my words (or anyone elses) for the truth, if you (the general you, not you personally andreas &lt;img src=&quot;/sites/all/modules/smileys/packs/example/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; /&gt; ) measure that the unpacking of the images is the problem and that the network traffic is negligible, please do unpack server side...&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
 <pubDate>Mon, 14 Apr 2008 13:54:15 +0200</pubDate>
 <dc:creator>alh</dc:creator>
 <guid isPermaLink="false">comment 45787 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: how to use PNG images </title>
 <link>http://www.newlc.com/forum/how-use-png-images#comment-45781</link>
 <description>&lt;p&gt;&lt;div class=&quot;bb-quote&quot;&gt;&lt;blockquote class=&quot;bb-quote-body&quot;&gt;Seriously?!&lt;br /&gt;
That sounds really stupid to me.&lt;/blockquote&gt;&lt;/div&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-style:italic&quot;&gt;I&#039;m&lt;/span&gt; not doing this, just said I have heard people doing it &lt;img src=&quot;/sites/all/modules/smileys/packs/example/wink.png&quot; title=&quot;Eye-wink&quot; alt=&quot;Eye-wink&quot; /&gt; Optimizing performance on the phone where data transfer sizes do not matter. This case was where it is assumed WLAN is used, so data transfer speeds are fast.&lt;/p&gt;</description>
 <pubDate>Mon, 14 Apr 2008 12:35:21 +0200</pubDate>
 <dc:creator>Andreas</dc:creator>
 <guid isPermaLink="false">comment 45781 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: how to use PNG images </title>
 <link>http://www.newlc.com/forum/how-use-png-images#comment-45770</link>
 <description>&lt;p&gt;&lt;div class=&quot;bb-quote&quot;&gt;&lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;br /&gt;
If the images are static (always the same), use bmconv tool on the PC to convert them to one or many mbm files. &lt;span style=&quot;font-weight:bold&quot;&gt;Some even convert images on the server side in web enabled apps from jpg/bmp/gif to mbm before Symbian client downloads them.&lt;/span&gt;&lt;br /&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;/p&gt;

&lt;p&gt;Seriously?!&lt;br /&gt;
That sounds really stupid to me.&lt;br /&gt;
jpg and gif are typically a lot better compressed then a mbm file, so to expand it to an mbm _before_ sending it over the network sounds immensely stupid (well, not from the operators point of view I guess...)&lt;br /&gt;
the overall operation time is also guaranteed to be a lot longer then sending the compressed image over the line and unpack it locally on the client.&lt;br /&gt;
image conversion isn&#039;t _that_ a heavy operation...&lt;/p&gt;

&lt;p&gt;Keeping your images in a better compressed format then mbm:s could be a good idea to save on file size of your .sis, specially if you have a lot of images.&lt;br /&gt;
&lt;/p&gt;</description>
 <pubDate>Mon, 14 Apr 2008 10:49:19 +0200</pubDate>
 <dc:creator>alh</dc:creator>
 <guid isPermaLink="false">comment 45770 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: how to use PNG images </title>
 <link>http://www.newlc.com/forum/how-use-png-images#comment-45755</link>
 <description>&lt;p&gt;If the images are static (always the same), use bmconv tool on the PC to convert them to one or many mbm files. Some even convert images on the server side in web enabled apps from jpg/bmp/gif to mbm before Symbian client downloads them.&lt;/p&gt;</description>
 <pubDate>Sat, 12 Apr 2008 18:18:16 +0200</pubDate>
 <dc:creator>Andreas</dc:creator>
 <guid isPermaLink="false">comment 45755 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: how to use PNG images </title>
 <link>http://www.newlc.com/forum/how-use-png-images#comment-45746</link>
 <description>&lt;p&gt;Hi Ahmad,&lt;/p&gt;

&lt;p&gt;Thanks , I have one more query , In my application which I am developing I have to use many images for creating UI so in which format should I take the images in PNG format or in bmp format. If I use PNG format than I have to first convert it into bmp format then draw onto screen this might not be useful as I have many images in the UI and converting them may take time. &lt;br /&gt;
 &lt;/p&gt;

&lt;p&gt;Thanks &lt;br /&gt;
nikh &lt;br /&gt;
   &lt;br /&gt;
&lt;/p&gt;</description>
 <pubDate>Sat, 12 Apr 2008 08:55:11 +0200</pubDate>
 <dc:creator>nikh</dc:creator>
 <guid isPermaLink="false">comment 45746 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: how to use PNG images </title>
 <link>http://www.newlc.com/forum/how-use-png-images#comment-45730</link>
 <description>&lt;p&gt;Hi nikh, &lt;/p&gt;

&lt;p&gt;you can port it via CImageDecoder to a Bitmap and paint this to the screen! &lt;br /&gt;
or &lt;br /&gt;
just check this link and download the code and read me file.look for implementation of CPNGloader class.&lt;br /&gt;
&lt;a href=&quot;http://&quot; class=&quot;bb-url&quot;&gt;http://developer.symbian.com/main/oslibrary/cpp_papers/getstarted.jsp&lt;/a&gt;&lt;br /&gt;
or&lt;br /&gt;
if you want to do same in native C,go through below link&lt;br /&gt;
&lt;a href=&quot;http://&quot; class=&quot;bb-url&quot;&gt;http://www.pawfal.org/fluxus/docs/libfluxus-0.14/PNGLoader_8cpp-source.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hope these will  solve your Problem!  &lt;img src=&quot;/sites/all/modules/smileys/packs/example/wink.png&quot; title=&quot;Eye-wink&quot; alt=&quot;Eye-wink&quot; /&gt; &lt;/p&gt;</description>
 <pubDate>Fri, 11 Apr 2008 09:31:13 +0200</pubDate>
 <dc:creator>er.khalid</dc:creator>
 <guid isPermaLink="false">comment 45730 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: how to use PNG images </title>
 <link>http://www.newlc.com/forum/how-use-png-images#comment-45729</link>
 <description>&lt;p&gt;You have to use the Image Conversion Library (ICL) to convert all other types of images to Symbian bitmaps.&lt;/p&gt;</description>
 <pubDate>Fri, 11 Apr 2008 09:26:15 +0200</pubDate>
 <dc:creator>Andreas</dc:creator>
 <guid isPermaLink="false">comment 45729 at http://www.newlc.com</guid>
</item>
<item>
 <title>how to use PNG images </title>
 <link>http://www.newlc.com/forum/how-use-png-images</link>
 <description>&lt;p&gt;&lt;br /&gt;
Hi All,&lt;/p&gt;

&lt;p&gt;I am developing an application in which I have to use PNG images but I am not able to get how I can draw the  PNG images as I have &lt;br /&gt;
always worked on bmp . Can any body guide me in this.&lt;/p&gt;

&lt;p&gt;Thanks&lt;br /&gt;
nikh&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/forum/how-use-png-images&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/forum/how-use-png-images#comments</comments>
 <category domain="http://www.newlc.com/forums/nokia-series-60">Nokia S60</category>
 <pubDate>Fri, 11 Apr 2008 08:43:47 +0200</pubDate>
 <dc:creator>nikh</dc:creator>
 <guid isPermaLink="false">20681 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
