Results 1 to 5 of 5

Thread: Image Formatting.

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2009
    Posts
    4

    Image Formatting.

    So about 4 days ago I started work on an application that would load and display Sprite images from a fairly old console game. All is well, until I figure out that the image has to be anti-aliased...which I have no clue how to accomplish this seeing as VC# 2008 doesn't have any built in functions for anti-aliasing. I've also checked out this tutorial but I'm not sure it would work with the image format I'm using:

    http://www.vbforums.com/showthread.php?t=285163

    As you would imagine, the sprite data uses a custom image format with pixel and pallet data. Each pixel is 8-bit(1 byte), and uses a 256-color pallet.

    The pallet data is 16-bit(2-bytes) in the format RGBA, so one nybble per R G B A value. Okay, so here is the part I'm unsure of. The A value is apparently the Alpha AND Anti-Alias value.

    0 = Transparent Value
    1 - F = Anti-Alias Value

    So any idea if that tutorial I linked to would work in this case?



    Those colors don't blend to well without AA.
    Last edited by runehero123; Jan 2nd, 2009 at 10:07 AM.

Posting Permissions

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



Click Here to Expand Forum to Full Width