Starfinder Playlist
Page 4 of 5 First ... 2 3 4 5 Last

Thread: Image rotation?

  1. #31
    Thank you so much!

    EDIT: The wide table / small card images when you pick 3 cards can be repurposed for the dungeon spread in Deck of Many Things.

    Last edited by Tempered7; April 16th, 2026 at 00:24.
    I scribble Solo RPG methods and reviews for Resources in my All Things Solo blog.
    Now with Solo Builds for DnD 5E. And All Solo Modules for FGU WIP.
    LIST OF ALL FREE FGU STUFF
    //Design with Systems, not Custom Solutions!

  2. #32
    Quote Originally Posted by pindercarl View Post
    As for your previous question, do frames scale? Not in the way that you would want. The image for the frame tiles to fill the available space.
    Confirmed; no luck with scaling. But that was a minor issue; I just resized the images, and it looks pretty good. The rotation works great. Thanks all!

    Tarot - inverted.png
    DISCORD / EXTENSIONS:
    Combat: Crit Dmg Options, Enlarge/Reduce, Flavorful Names, Hidden Death Saves, Lingering Injuries (PL), Major Injuries (DK), Special Dmg FX, Summoner, Weapon Dmg Props
    Skills: Crits & Fumbles, Fail Forward, Toolkit Actions
    DM Tools: DB Search, Dynamic Pricing, Party Info, Redacted Table Fields
    Just For Fun: Achievement Tracker, Boar Riding, Dragon Cards, Drink & Sink, Fishing Fun, Seven Seas, Tarot, Turtle Race
    Puzzles: Cryptex, Volvelle, Word Key

  3. #33
    pindercarl's Avatar
    Join Date
    Jan 2015
    Posts
    1,329
    Blog Entries
    2
    Quote Originally Posted by jkeller View Post
    Confirmed; no luck with scaling. But that was a minor issue; I just resized the images, and it looks pretty good. The rotation works great. Thanks all!

    Tarot - inverted.png
    Looks great. You could add an alpha channel to the source images to round off those corners.

  4. #34
    Quote Originally Posted by pindercarl View Post
    Looks great. You could add an alpha channel to the source images to round off those corners.
    In the current version, the corners fit nicely on 4 settings as single or 3 cards.
    I scribble Solo RPG methods and reviews for Resources in my All Things Solo blog.
    Now with Solo Builds for DnD 5E. And All Solo Modules for FGU WIP.
    LIST OF ALL FREE FGU STUFF
    //Design with Systems, not Custom Solutions!

  5. #35
    Quote Originally Posted by pindercarl View Post
    Looks great. You could add an alpha channel to the source images to round off those corners.
    Yeah, I did that for the backs (for some decks), since there's only one back image. But to do it for the face-up cards, I'd need to use PNG, and I *think* JPG is much smaller (at least, in my limited testing). I'm not sure if there are better alpha-channel formats that FG supports (maybe WEBP?); if so, I could do that. My knowledge is pretty old, just GIF/JPG/PNG heh.
    DISCORD / EXTENSIONS:
    Combat: Crit Dmg Options, Enlarge/Reduce, Flavorful Names, Hidden Death Saves, Lingering Injuries (PL), Major Injuries (DK), Special Dmg FX, Summoner, Weapon Dmg Props
    Skills: Crits & Fumbles, Fail Forward, Toolkit Actions
    DM Tools: DB Search, Dynamic Pricing, Party Info, Redacted Table Fields
    Just For Fun: Achievement Tracker, Boar Riding, Dragon Cards, Drink & Sink, Fishing Fun, Seven Seas, Tarot, Turtle Race
    Puzzles: Cryptex, Volvelle, Word Key

  6. #36
    pindercarl's Avatar
    Join Date
    Jan 2015
    Posts
    1,329
    Blog Entries
    2
    Quote Originally Posted by jkeller View Post
    Yeah, I did that for the backs (for some decks), since there's only one back image. But to do it for the face-up cards, I'd need to use PNG, and I *think* JPG is much smaller (at least, in my limited testing). I'm not sure if there are better alpha-channel formats that FG supports (maybe WEBP?); if so, I could do that. My knowledge is pretty old, just GIF/JPG/PNG heh.
    Definitely use webp. It's the recommended format even if you aren't using alpha channels. Webp at 75% quality will give similar results to a JPEG but will be significantly smaller.

  7. #37
    pindercarl's Avatar
    Join Date
    Jan 2015
    Posts
    1,329
    Blog Entries
    2
    Quote Originally Posted by snowjack05 View Post
    If you just need a simple flip/rotation, try handling it with CSS first—it’s the easiest for extensions:
    CSS:
    img {
    transform: rotate(180deg); /* or scaleX(-1) for horizontal flip */
    }

    If that doesn’t work (e.g., dynamic images), use JavaScript + canvas to redraw and rotate the image.

    Also check:

    If images are loaded dynamically (you may need a MutationObserver)
    Cross-origin restrictions when using canvas (CORS issues)

    Start simple with CSS, then move to JS if needed.
    This is the strangest LLM reply I've seen. It doesn't try to get me to click on a link or anything.

  8. #38
    Quote Originally Posted by pindercarl View Post
    This is the strangest LLM reply I've seen. It doesn't try to get me to click on a link or anything.
    When bots want to be helpful. LOL
    I scribble Solo RPG methods and reviews for Resources in my All Things Solo blog.
    Now with Solo Builds for DnD 5E. And All Solo Modules for FGU WIP.
    LIST OF ALL FREE FGU STUFF
    //Design with Systems, not Custom Solutions!

  9. #39
    Nevermind, it just started working again.... just a glitch I guess....
    Attached Images Attached Images
    Last edited by jkeller; April 18th, 2026 at 21:56.
    DISCORD / EXTENSIONS:
    Combat: Crit Dmg Options, Enlarge/Reduce, Flavorful Names, Hidden Death Saves, Lingering Injuries (PL), Major Injuries (DK), Special Dmg FX, Summoner, Weapon Dmg Props
    Skills: Crits & Fumbles, Fail Forward, Toolkit Actions
    DM Tools: DB Search, Dynamic Pricing, Party Info, Redacted Table Fields
    Just For Fun: Achievement Tracker, Boar Riding, Dragon Cards, Drink & Sink, Fishing Fun, Seven Seas, Tarot, Turtle Race
    Puzzles: Cryptex, Volvelle, Word Key

  10. #40
    Getting a really weird bug.

    Sideways (90 degree rotation) cards/tokens (even square ones!) are sometimes clipped.

    I got rid of my inner subwindow (for testing), but it still happens.

    Even though there's plenty of room, the sideways ones sometimes are clipped. I have not seen it happen if the rotation is 180.

    I'm trying various random tweaks, but no luck so far. It seems like a bug in the underlying code

    Any suggestions?

    Clipped.png
    DISCORD / EXTENSIONS:
    Combat: Crit Dmg Options, Enlarge/Reduce, Flavorful Names, Hidden Death Saves, Lingering Injuries (PL), Major Injuries (DK), Special Dmg FX, Summoner, Weapon Dmg Props
    Skills: Crits & Fumbles, Fail Forward, Toolkit Actions
    DM Tools: DB Search, Dynamic Pricing, Party Info, Redacted Table Fields
    Just For Fun: Achievement Tracker, Boar Riding, Dragon Cards, Drink & Sink, Fishing Fun, Seven Seas, Tarot, Turtle Race
    Puzzles: Cryptex, Volvelle, Word Key

Page 4 of 5 First ... 2 3 4 5 Last

Thread Information

Users Browsing this Thread

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

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
  •  
Refer a Friend

Log in

Log in