Starfinder Playlist
  1. #1

    Graphical issue with player portraits

    Summary: All player portraits show an apparent error/artifact of downscaling?

    Ruleset(s): 5e

    Extensions/Themes: None/default

    Modules Loaded: None

    Operating System / Language Setting: Widows 10

    Steps to Reproduce: Place a portrait with a square aspect ratio of any size (have tried 70x70, 100x100, 300x300, a few larger, etc.) into the AppData\Roaming\SmiteWorks\Fantasy Grounds\portraits folder. Click the empty portrait on a character sheet in FGU, select the "data" folder/bag, and when the portraits load on the selection screen each image seems to have an error or artifact in the approximate middle of the image. It's most obvious when it happens to hit in the eye area of a portrait, or some other critical facial feature - in cases where it doesn't, it's subtle enough it might go unnoticed.

    The portrait load screen versus the same files in windows explorer:
    graphical portrait issue.png

    One of the files displaying an issue around the eye area when viewed in FGU:
    Untitled - test final (2) 100x100.jpg

  2. #2
    Quote Originally Posted by aldora View Post
    Summary: All player portraits show an apparent error/artifact of downscaling?

    Ruleset(s): 5e

    Extensions/Themes: None/default

    Modules Loaded: None

    Operating System / Language Setting: Widows 10

    Steps to Reproduce: Place a portrait with a square aspect ratio of any size (have tried 70x70, 100x100, 300x300, a few larger, etc.) into the AppData\Roaming\SmiteWorks\Fantasy Grounds\portraits folder. Click the empty portrait on a character sheet in FGU, select the "data" folder/bag, and when the portraits load on the selection screen each image seems to have an error or artifact in the approximate middle of the image. It's most obvious when it happens to hit in the eye area of a portrait, or some other critical facial feature - in cases where it doesn't, it's subtle enough it might go unnoticed.

    The portrait load screen versus the same files in windows explorer:
    graphical portrait issue.png

    One of the files displaying an issue around the eye area when viewed in FGU:
    Untitled - test final (2) 100x100.jpg
    I don't know if this will help, but make sure all your images are labeled to help with the long character file names. Are you using jpeg, png, or something else? Portraits are generally best configured at 100x100 square pixels. If you are using anything smaller or such, they might look distorted as they will become the default map tokens. To help with this issue, you might want to try creating some higher quality and very squared images for tokens and not just use the default portrait images, which will inherent the profile picture to be used as a scaled version of the original into a map token. Random images taken from the internet can be problematic because they might not be truly square or may suffer from being compressed too much. Hope this helps.
    FGA Founder
    FGU teacher and student!
    Ultimate License Holder
    Discord Alias: Laerun#6969

    https://www.fantasygroundsacademy.com

  3. #3
    All the portraits I've tried have been edited and cropped to exact squares, and several were scaled specifically to 100x100 and still had decent quality that way (such as my example in the second file) - only upon opening them in fantasygrounds does the issue appear.

  4. #4
    I talked to @cpinder about this.

    It's apparently an artifact of the Google SkiaSharp library that we use for image loading and manipulation. It's most prominent at the exact center of the image when downscaling (and the example you show has the eye in the exact center). He's tried different scaling parameters to attempt to compensate, but the issue still appears.

    It's not something that we have a solution for at this time. Changing image loading and manipulation libraries is a very big task; and there is no guarantee that there will not be other similar issues or other side effects. So, we suggest using using a different portrait in this case.

    Regards,
    JPG

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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
  •  
DICE PACKS BUNDLE

Log in

Log in