Graphics

 View Only
  • 1.  Xpression Question regarding .PNG file

    Posted 05-31-2018 18:13

    Hoping someone can help. A friend of mine who also works on the Xpression is having an issue when he brings in a .PNG file with an alpha channel to put onto a existing background, the image comes in and seems to take the last pixel on each side and stretch it across to fit 1920x1080. Obviously he doesn't want this to happen. I included an example of what it looks like when he drops it in. I also included an example of what its suppose to look like. He sent me the file (.PNG) and I dropped it into my Xpression and it came in just fine. Its not stretching the image like it is doing in his Xpression. I even tried to find a way for me to mess it up in my Xpression and I cannot. So, I know we had this problem way back in the day and I know its just a setting that I'm overlooking to fix it. So if anyone can help me out I would greatly appreciate it.
    Thanks
    Jen

     



  • 2.  RE: Xpression Question regarding .PNG file

    Posted 05-31-2018 18:44
    That behavior would occur when the quad is not set to autosize to the size of the PNG. If the quad is larger than the PNG then it will use the "Mode" setting in the Texture Coords tab to determine what to do to fill the extra space. The default is "Clamp" which will repeat the edge pixels. If you choose "Border" it will add a transparent border to fill the extra space.

    So, to fix, either enable "Autosizing" or set Texture Coord Mode to Border.

    #XPression


  • 3.  RE: Xpression Question regarding .PNG file

    Posted 05-31-2018 19:01
    thank you.....I will have him try this and I will let you know. I appreciate it :)
    #XPression