Results 1 to 9 of 9

Thread: Andorra 2D latest, Delphi7, resource (ail) file with 4x 2048x2048x16 PNG

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    i do some quick math and i think it should work
    this is an example for a 1024x1024x16

    1024 x 1024 = 1.048.576 total pixels
    1.048.576 x 16 bits in each pixel = 16.777.216 total bits in the image
    16.777.216 bits / 8 bits in every byte = 2.097.152 bytes

    2.097.152 bytes x 1024 bytes = 2048 kilobytes
    2048 kilobytes x 1024 bytes = excactly 2 megabyte

    this example only work for uncompressed data
    but compressed data solutions like DXT are rarely used in non-comercial engines/frameworks
    Last edited by Daikrys; 01-08-2011 at 03:51 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •