Last 12 weeks ยท 0 commits
3 of 6 standards met
This pr enhance the ui of particularly !image _enhancement_ custom button now have input back button is re styled layout margin and pading changed all page a working fine now Please make sure you do the following before filing your PR: [x] Provide a video or screenshots of any visual changes made [x] Run and make sure everything passes
Repository: t3dotgg/quickpic. Description: Turn SVGs into high resolution PNGs in 2 clicks Stars: 1264, Forks: 224. Primary language: TypeScript. Languages: TypeScript (97.3%), JavaScript (2.2%), CSS (0.5%). License: MIT. Homepage: https://quickpic.t3.gg Open PRs: 37, open issues: 29. Last activity: 1y ago. Community health: 57%. Top contributors: t3dotgg, R44VC0RP, nexxeln, TheAlexLichter.
By "certain SVGs", I mean ones without or attributes and instead just doing or something else. Previously, my SVGs (square) would always show up as 300x150 and would have extra transparent padding on the sides. This fixes that, so that the images would at least have the right aspect ratio, even if the dimensions aren't correct. The way I did this is to use and - letting the browser do all the complicated work with the standards. (this means that the SVG-to-PNG tool can technically resize other image types if the accepted file types are changed) "Better data handling" is using URLs instead of URLs everywhere possible, so we're not passing around massive strings with file contents, instead we're just using references to s, and those s hold the data outside of JavaScript. Additionally, there were some URLs already being used (with SVG content) but not being freed with , so I added some calls to clean those up. No visual changes, this is purely logic. Except for the results being the correct aspect ratio. Please make sure you do the following before filing your PR: [x] Provide a video or screenshots of any visual changes made [x] Run and make sure everything passes