Discussion Board

Results 1 to 2 of 2

Thread: EColor16M

  1. #1
    Registered User yakoc's Avatar
    Join Date
    Jan 2005
    Posts
    26
    I wrote a program that take a jpg picture(size 2-3kB) and using socket programing send it to symbian emulator.And I saved this coming jpeg with below display modes.
    An interesting point saving with EColor16M(24bit) display mode, size is 43kB.But when I save EColor16MU(12bit) display mode,size is 56kB.

    EColor4K 56kB 12 bit 4096 color
    EColor16MU 56kB 12 bit 4096 color
    EColor16M 43kB 24 bit true color 16,777,216 color
    EColor64K 28kB 16 bit 64000 color
    EColor256 15kB 8 bit 256 color
    EColor16 8kB 4 bit 16 color

    4bit->8kB
    8bit->15kB
    12bit->56kB
    16bit->28KB
    24bit->43kB //EColor16M
    24bit->56kb //EColor16MU

    what is the reason this size differences between EColor16MU and EColor16M ?

  2. #2
    Regular Contributor Skygyl's Avatar
    Join Date
    May 2004
    Posts
    462
    EColor16MU display mode is 24 bits for colors and another 8 bits for alpha. So if you use EColor16MU,that means you will use 4 bytes for each pixel in raw data format.

Similar Threads

  1. EColor16M DataAddress()
    By royal0043 in forum Symbian C++
    Replies: 0
    Last Post: 2003-07-30, 20:35

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved