User Tag List

Results 1 to 4 of 4

Thread: Issue with text blitter & compressed PNG images

  1. #1
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Sep 2006
    Posts
    1,544
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Issue with text blitter & compressed PNG images

    I noticed some peculiarities to loading tilesets in my game in both text blitters & as backdrop objects (via the active picture object). I have both programmed to accomplish the same visual display, but there is a nonsubtle difference in the palette of the two, causing a distinct graphical boundary- the text blitter's image is discolored, whereas the active picture object looks exactly like the original image.

    Yet, I found out that if I used an *uncompressed* PNG file as my tileset instead, it would have no discoloration at all. So what I am figuring from this is that theres some issue with the scheme the text blitter object is using to read from compressed PNG files (I'm using the standard compression on irfanview, set to 0 vs 1,2,3...9 for comparison).

    Now please forgive the gigantic images, but they have to be this big to make the difference obvious. I've got a single band of backdrops running through a large rectangle of text blitter image.

    Using a compressed (1 compression) PNG @ 13 KB:
    http://img691.imageshack.us/img691/4448/palette.png


    Using a noncompressed PNG @ 130 KB:
    http://img265.imageshack.us/img265/9632/palette2.png



    Anyway, I gotta stress that both tiles are being loaded from the same tileset base image. There just appears to be some inconsistency on how the two object load the base files, yet when no compression is involved they appear virtually exactly the same. So while I try to figure out a workaround to this, I thought I'd just point it out in case its some kind of bug or whatever

  2. #2
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Sep 2006
    Posts
    1,544
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Issue with text blitter & compressed PNG images

    I've found some workarounds by adjusting the colors in irfanview until they are roughly synced on the 256 scale, but I thought I'd point out that this issue will still exist for everything else, if its ever worth fixing. It just simply appears that the text blitter is not rendering PNG images properly

  3. #3
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    3,000
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)

    Re: Issue with text blitter & compressed PNG images

    Maybe this is related to the graphic mode (colors depth) of your MMF application? I'd try different settings to see if it makes any difference.

  4. #4
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Sep 2006
    Posts
    1,544
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Issue with text blitter & compressed PNG images

    Set to 16 million colors of course, but either way it wouldn't matter (they'd both be converted to the same # of colors)

Similar Threads

  1. Save backgrounds as compressed images within the game?
    By Tsun in forum Multimedia Fusion 2 - Technical Support
    Replies: 22
    Last Post: 10th April 2013, 09:00 AM
  2. Text Blitter
    By ffomega in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 10th November 2011, 07:42 AM
  3. Text Blitter - font images/maps
    By arfa in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 25th October 2010, 01:32 PM
  4. Text blitter: typing text
    By dsmathewson in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 7th July 2008, 07:36 PM
  5. Numeric value to Text Blitter or Formated text
    By Kris in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 31st January 2008, 04:04 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
  •