David Sheldrick
|
f5c5b05dc7
|
[chore] update lazyrepo (#1211)
|
2023-05-02 12:25:26 +00:00 |
|
Orange Mug
|
77175a9dc4
|
Added pHYs to import/export of png images (#1200)
Added the following
- Always export pngs with a pixel-ratio of `2`
- Added the `pHYs` png metadata chunk describing the pixel ratio so it
opens with the correct size
- When importing PNGs read the `pHYs` chunk for the sizing info
All the exporting is done via just modifying the bytes from the browsers
native image handling.
https://user-images.githubusercontent.com/235915/234309015-19f39f3a-66ce-4ec2-b7d0-b34a07ed346b.mov
I've also added `ANALYZE=true` option to get the build metadata from
esbuild on boot of `yarn dev` which allow me to see the bundle size info
in https://esbuild.github.io/analyze/
![esbuild github
io_analyze_](https://user-images.githubusercontent.com/235915/234310302-c6fe8109-c82d-480a-8c65-c7638b09e71e.png)
You can see that `crc` adds about `4.4kb`
<img width="280" alt="Screenshot 2023-04-25 at 15 33 26"
src="https://user-images.githubusercontent.com/235915/234310669-99e3e787-ddca-4ad2-81cf-b4a541631d62.png">
---------
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
|
2023-04-29 22:10:01 +00:00 |
|
David Sheldrick
|
4c65cb8db4
|
[lite] upgrade lazyrepo (#1198)
* upgrade lazyrepo
* update lockfile + lazy.config
|
2023-04-25 14:32:17 +01:00 |
|
alex
|
29ed921c67
|
transfer-out: transfer out
|
2023-04-25 12:01:25 +01:00 |
|