[PRJ]Lighting PhoneCanvas

mondilv

Senior Member
Jul 9, 2008
1,519
13
0
Riga
Stupid situation, when the skin eat so much phone memory.
Tried convert big *.bmp files from PhoneCanvas & PhoneCanvas_0409.
To png, gif, jpg... (size about 10 times smaller)
Funny, the dialpad is invisible, but it works:)
And the memory consumption smaller about 4M.
I'm not the programmer and can't find solution for this problem.
Just one thing - use compressed graphic files.
Is it possible, anybody knows?

And little trick for skin: reversed dialpad. (only)
More interesting for black diamond, I think:)
 

Attachments

Last edited by a moderator:

tnyynt

Retired Senior Moderator
Jun 18, 2007
2,270
5
0
i think so this post belongs to Diamond Forum inspite of diamond rom development.


Request moderator is i m right then move it please.
I'll leave it here for now, as it can be usefull in gaining some more space while cooking ROMs.
We'll see how it develops!
 

mondilv

Senior Member
Jul 9, 2008
1,519
13
0
Riga
I'll leave it here for now, as it can be usefull in gaining some more space while cooking ROMs.
We'll see how it develops!
I think same:)
But I'm talking about OPERATIVE memory at first. Not only rom size.
Effect is similar for "HKLM\Security\Phone\Skin" Enable=0
And interesting, that another part of skin's images - "png".
So question - how to hack PhoneCanvas package for use "png" images for ALL.

About screenshots... hm, nothing special, just reversed:
 

Attachments

Last edited:

tnyynt

Retired Senior Moderator
Jun 18, 2007
2,270
5
0
I think same:)
But I'm talking about OPERATIVE memory at first. Not only rom size.
Effect similar for "HKLM\Security\Phone\Skin" Enable=0
And interesting, that another part of skin's images - "png".
And question - how to hack PhoneCanvas package for use "png" images for ALL.

About screenshots... hm, nothing special, just reversed:
I know what you are talking about.
And here is your solution: save to png and rename to gif.
 

mondilv

Senior Member
Jul 9, 2008
1,519
13
0
Riga
Pity, the trick doesn't work:(
Same result - invisible dialpad.
May be any special parameters for png or gif?
 
Last edited:

mondilv

Senior Member
Jul 9, 2008
1,519
13
0
Riga
So we know it's not these images who make problem...
I only convert .bmp images (it's enough - png have compression already)
Memory consumption change from 49 to 42 %.
No bad, isn't it?
I took a look to the original skin now:)
It use gif/lzw, so...
May be this route? Change skin directly.
SYS\Phone_dpi_192_resh_480_resv_640
 

ZeuBug

Senior Member
Aug 31, 2007
817
504
123
Nantes
I only convert .bmp images (it's enough - png have compression already)
Memory consumption change from 49 to 42 %.
No bad, isn't it?
I took a look to the original skin now:)
It use gif/lzw, so...
May be this route? Change skin directly.
SYS\Phone_dpi_192_resh_480_resv_640
I have not this difference of memory consumption. (no change!)
I have converted bmp to jpeg with a big compression setting.
I have missed something...:(
 

mondilv

Senior Member
Jul 9, 2008
1,519
13
0
Riga
All *.bmp to compress in folders PACKAGE_Diamond_TaskManager & PACKAGE_Diamond_TaskManager_0409 -> about 4M economy.
But another way - make something to MS original skin.
I don't like it. Even not know why.
May be the buttons too small - will try edit a bit .
Gradient background take about 1M of memory - out.
Monocolor.
Work for evening:)
 

mondilv

Senior Member
Jul 9, 2008
1,519
13
0
Riga
Sure, using jpg as bmp - visible dialpad.
But memory consumption didn't change.
If canvas invisible - economy of memory.
When bitmap loaded... Same result jpg & bmp.
So just rom size smaller. No bad too, but...
I'll use original skin, may bit changed.
 

ZeuBug

Senior Member
Aug 31, 2007
817
504
123
Nantes
Sure, using jpg as bmp - visible dialpad.
But memory consumption didn't change.
It is only that I want...:(
I have disabled phonecanvas and maybe I will enable it when I will need video telephony! (one click on a reg file and soft reset! ;) )

Maybe someone will find a solution in the future!
There is too much work for not a lot of things... I'm very happy with phonecanvas disabled (could be enabled!)
 

mondilv

Senior Member
Jul 9, 2008
1,519
13
0
Riga
Resources in the PACKAGE_Diamond_PhoneCanvas\phcanOverbmp.dll looks nice (start dialpad for PIN enter, while use PhoneCanvas).
Will try to change standard MS bitmaps. Need be patience - long work:)
Or anybody can do it faster? Photoshop is not my favorite route.
 
Last edited:

dajudge01

Senior Member
Jun 14, 2008
110
0
0
I guess the effect of no difference in memory consumption despite JPG compression is that the application still needs the bitmaps in uncompressed format to display them...

So instead of making things better in terms of memory requirement that factor doesn't change at all - things get even worse since you add the overhead of JPEG decompression to the whole process of loading the dialpad...

This is just a theory however :) I'd love to see the memory consumption of the dialpad to decrease significantly!

Cheers,
Alex
 

mondilv

Senior Member
Jul 9, 2008
1,519
13
0
Riga
I guess the effect of no difference in memory consumption despite JPG compression is that the application still needs the bitmaps in uncompressed format to display them...

So instead of making things better in terms of memory requirement that factor doesn't change at all - things get even worse since you add the overhead of JPEG decompression to the whole process of loading the dialpad...
I think the same. So now want to try change "light" default MS phone skin.
(look the post upper)
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone