Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto NG Family Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
"How much memory does an image actually require?"
This thread has 6 replies. Displaying all posts.
Post 1 made on Saturday April 29, 2006 at 18:05
glendagary
Founding Member
Joined:
Posts:
November 2001
133
Given two buttons or two panels using the exact same size and art:
Does anyone know how much more memory / percentage wise (if any) it takes to use the image transparancy feature vs no transparancy?

Last edited by glendagary on May 15, 2006 08:40.
Post 2 made on Saturday April 29, 2006 at 21:57
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,999
Gary,

Compare sizes as I mentioned doing in your previous thread.

[Link: remotecentral.com]

Pixel depth has the main affect on required memory.

The actual transparency setting has nothing to do with memory requirements. It's the images themselves that are either transparent or not (PNGs) versus BMP where transparency is either none or the color in the top-left corner.

For BMP files, you can have 1, 4, 8, 32 bit depth which is 2, 16, 256, and true color respectively. 1-bit gives 8 pixels per byte, 4-bit gives 2 pixels per byte, 8-bit is 1 pixel per byte, and 32 bit is 4 bytes per pixel. JPG files are treated as 32-bit images.

PNG files have 2 options, 32-bit and 8-bit. When exporting a PNG from most image programs, you can save as a palettized (format known as PNG-8) or as true-color image. To get the "Image Transparency" on the 7000, you must use an Alpha-Channel in your PNG images which means using true color (32-bit) . However, just because you use 32-bit does not mean that the PNG requires 4 bytes per pixel. PNGs are compressed and the algorithm used by the image editor and in PPENG dictates that size depends solely on the "complexity" also known as "image frequency". Image frequency increases when a color value from one pixel to the next varies greatly. The more variance, the higher the frequency.

Also note that filters such as "sharpen" will increase frequency. Blur filters are often used to decrease frequency. Too much to discuss here. If you are interested, read up on digital imaging concepts such as "frequency" from readily available sites such as http://www.pinoy7.com for paintshop, etc...

So, prior to exporting a 32-bit PNG, you can decrease color depth and use dithering or nearest color methods to decrease frequency. Right before exporting, increase the color depth to 32-bit and then export with transparency. Increasing the color depth back to 32 does NOT increase the frequency. The end result will be that the memory requirement is typically smaller.

This post is not meant as an end-all be-all answer. However, as I mentioned before, you should spend some time comparing simulator file sizes as this is the BEST way to find out just how much an item takes.

Just to give you an idea of required memory for BMP files. A 240x261 image in 2 color (1-bit) requires about 9KB. Increase the number of colors to 16 (4 bits) and you go from 9KB to around 33-34KB. From 16 to 256 colors, you are looking at about 65KB per image. Then, for the person who just can't live with 256 colors and wants 32, they must realize that that same image will be around 256KB. Therefore, you can get approximately 4 images of this size per MB. Knowing there's only 28MB of usable space in the remote, that only allows around 112 imags of this size. These numbers are for BMP files. PNG memory requirements vary based on complexity and you MUST simulate to know exactly what memory an image requires. You simply compare sizes by simulating and then switching out images.

Hope this helps shed some light on the previously hidden info about image memory requirements. If you don't mind, please edit your post and change the subject line to "How much memory does an image actually require?".

Thanks,
Lyndel
Lyndel McGee
Philips Pronto Addict/Beta Tester
OP | Post 3 made on Monday May 15, 2006 at 08:39
glendagary
Founding Member
Joined:
Posts:
November 2001
133
On April 29, 2006 at 21:57, Lyndel McGee said...
Knowing there's only
28MB of usable space in the remote.

Does this mean that (approx) size of file downloaded to TSU 7500 can be 28mgs?
Post 4 made on Monday May 15, 2006 at 09:59
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,999
Gary,

I believe the 28MB user memory has previously been discussed but I noted it simply to provide a figure that folks could use to calculate the number of images they might be allowed.

Yes, the usable space in the 7000 remote is approximately 28MB. The .bin file can be up to ~28MB. However, your .pcf/.zip file will most definitely be much smaller.

Lyndel
Lyndel McGee
Philips Pronto Addict/Beta Tester
OP | Post 5 made on Monday May 15, 2006 at 16:41
glendagary
Founding Member
Joined:
Posts:
November 2001
133
On May 15, 2006 at 09:59, Lyndel McGee said...
Gary,

I believe the 28MB user memory has previously
been discussed but I noted it simply to provide
a figure that folks could use to calculate the
number of images they might be allowed.

Yes, the usable space in the 7000 remote is approximately
28MB. The .bin file can be up to ~28MB. However,
your .pcf/.zip file will most definitely be much
smaller.

Lyndel

thank you
OP | Post 6 made on Friday May 19, 2006 at 20:18
glendagary
Founding Member
Joined:
Posts:
November 2001
133
On May 15, 2006 at 09:59, Lyndel McGee said...
Gary,

I believe the 28MB user memory has previously
been discussed but I noted it simply to provide
a figure that folks could use to calculate the
number of images they might be allowed.

Yes, the usable space in the 7000 remote is approximately
28MB. The .bin file can be up to ~28MB. However,
your .pcf/.zip file will most definitely be much
smaller.

Lyndel

Thanks Lyndel. Now endulge me one more time :)

If I want to load approx 1,000 movie thumbs that are 11-14 kbs each....how much space will the 11,000 to 14,000 kbs actually translate (ballgame) into used memory once installed?
Post 7 made on Friday May 19, 2006 at 20:41
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,999
Simple. 1000(count) * 11(min-size) * 1024(# bytes in 1KB) = requirement in bytes.

Now, divide this value by 1MB (1024 * 1024) give you the number of MBs required.

Follow the same procedure subbing min-size=14 to get the min/max requirements.

Windows calculator works wonders...
Lyndel McGee
Philips Pronto Addict/Beta Tester


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse