Twitxy Saved

TheBenMeadows

Verified account This account is verified. Learn more

@TheBenMeadows

thebenmeadows.com Joined September 2019
4.9K Following 6.3K Followers 7.7K Posts

Latest posts 5

Pinned post

TheBenMeadows Verified account @TheBenMeadows
Bitcoin Ordinals: A Way to Save 50-80% When Inscribing SVGs

Four days ago, I posted an idea: would it be feasible to inscribe compressed SVG files (SVGZ) for a savings of 60-70% (or more)?

As of yesterday, I have the answer... ⬇️

x.com/TheBenMeadows/…
TheBenMeadows Verified account @TheBenMeadows Oct 2, 2023
Bitcoin Ordinals: SVG vs SVGZ

When creating art specifically to store on-chain, I prefer to create vector art.

While I love the aesthetic of dither masters like @0xdiid, there is something very satisfying about the pixel-perfect crispness of a vector image that will not pixelate despite being resized.

This is why every piece that I have put on-chain (both on Ethereum and Bitcoin) has been an SVG.

This weekend, I had a thought about SVGs and #Bitcoin #Ordinals.

I was working with an SVG piece that, even after I had simplified the piece significantly, was coming in over 100 KB. If I compressed the SVG by using the SVGZ format (essentially a GZIP'ed version of an SVG), the file size was reduced to around 30 KB.

Modern web servers can serve SVGZ files just as easily as uncompressed SVGs (almost - I'm trying to stay out of the technical weeds with this initial post).

I inscribed a test image over the weekend. However, the SVGZ isn't viewable on @ord_io, @trygamma, @MagicEden, or ordinals.com.

Instead, you get a standard error. It appears that the sites are handling the SVGZ as a standard SVG and not decompressing the data properly (this is not uncommon since SVG and SVGZ share the same MIME type).

Here is my question and proposal. If we made it so that SVGZ inscriptions could be viewed more easily, it would reduce the size of the inscription by a very large amount (more than half).

I can think of two solutions:

1) Use a JS library (like pako) to decompress the SVGZ (essentially, you still wouldn't be able to see the base inscription, but you would be able to see the recursive editions as if they were standard SVGs).

I haven't gone too far down this rabbit hole, but it's an interesting idea that could save artists a lot of money over the long term.

techblogs.42gears.com/extract-gzip-d…

2) Have major Ordinals sites and marketplaces display SVGZ files correctly. I think this is the simpler option, technically, but might be harder from a coordination standpoint.

I would love to hear what other people think. 🙏
View quoted post on X
53 replies 27 reposts 333 likes 30K views View on X
TheBenMeadows Verified account @TheBenMeadows
My second entry for Best Outlier: "Fermata."

After yesterday's entry ("Unison") I kept going - 100,000,000 hashes (yes, 100 million). Of the 54,994,295 with no color variant, exactly 2 have colors that do not visibly change. Unison was one. This is the other:

heftgallery.com/intervals?seed…

I wrote the whole thing up as Intervals in Numbers - a scroll through what 100 million hashes say about the piece (bar counts, palettes, how often nothing blends), ending with a tool that tells you how rare any hash is:

thebenmeadows.com/experiments/in…
Jeff Davis Verified account @jeffgdavis Nov 13
INTERVALS CONTEST

Let's have some fun before Intervals opens...

Head over to @heft_gallery (link below), play with the Intervals generator, and quote this post with what you find.

Details below ⏬
View quoted post on X