Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. SVG saga update: Massive progress

SVG saga update: Massive progress

Scheduled Pinned Locked Moved The Lounge
designannouncementvisual-studiocomgraphics
2 Posts 2 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    honey the codewitch
    wrote on last edited by
    #1

    VICTORY! I found two bugs in my graphics library having to do with propagation of alpha channels when doing pixel format conversions. Fixed. I found the problem with my colors not getting rendered correctly. Had to do with confusing byte order issues, between my library (big endian pixels), and what's left of plutovg after my integration (little endian pixels) and then again when I'm rendering it to png to test. Finally, I was occasionally forgetting to update my color macros when I changed channel orders to compensate for little vs big endian. ARGH. I finally sorted it all out. It took me 3 days of banging on it. Good news is I eliminated all the byte swapping. Now my stuff renders great, at least for one SVG document. The others aren't rendering at all but I've got a good foundation, and a reference implementation that's known good to check it against. :thumbsup:

    Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

    pkfoxP 1 Reply Last reply
    0
    • H honey the codewitch

      VICTORY! I found two bugs in my graphics library having to do with propagation of alpha channels when doing pixel format conversions. Fixed. I found the problem with my colors not getting rendered correctly. Had to do with confusing byte order issues, between my library (big endian pixels), and what's left of plutovg after my integration (little endian pixels) and then again when I'm rendering it to png to test. Finally, I was occasionally forgetting to update my color macros when I changed channel orders to compensate for little vs big endian. ARGH. I finally sorted it all out. It took me 3 days of banging on it. Good news is I eliminated all the byte swapping. Now my stuff renders great, at least for one SVG document. The others aren't rendering at all but I've got a good foundation, and a reference implementation that's known good to check it against. :thumbsup:

      Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

      pkfoxP Offline
      pkfoxP Offline
      pkfox
      wrote on last edited by
      #2

      It's been a long hard road but you're getting there - well done

      In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups