Mike Tsao

Results 34 comments of Mike Tsao

Here is a Python snippet that works for PNG: ``` from libxmp import XMPFiles, consts, XMPMeta import time xmpfile = XMPFiles(file_path="PNG-metadata-test.png", open_forupdate=True) xmp = xmpfile.get_xmp() if xmp is None: xmp...

Please take a look at 50d0f0eab52fda64b002092dd7525855c2b59d2d. It mostly does what I had in mind. Outstanding issues are listed in the commit message. Another issue I just thought of is that...

Please wait until I submit a PR, as I don't think the current implementation's quality is high enough. The problem is that installation of a certain required library is difficult,...

This is good to review. It works for both txt2img and img2txt, and JPEG and PNG file formats. It introduces no platform-specific dependencies. I've manually tested on Debian.

@bakkot see https://github.com/sd-webui/stable-diffusion-webui/discussions/283#discussioncomment-3586799. I like what you've done with structured metadata. I also believe there's value in having an imperfect solution today. I hope the community pursues both approaches. I...

(repeating some points from that other thread) I'm excited that Google Photos and Flickr already index the XMP Description field for searching (try https://flickr.com/search/?text=psychedelic%20mushrooms%20plms), and render it in their UI....

> Is there a specific reason for using JSON to serialize the data? The reason I picked JSON is that I didn't expect people to use the data as a...

PR welcome! Apple computer donations also accepted. On Sat, Jul 29, 2023, 8:09 PM Daniel Rahamim ***@***.***> wrote: > This doesn't appear to work on MacOS X. > Ran into...

See discussion in https://github.com/google/material-design-icons/issues/1600. It looks like glyph #0 is called .notdef and is supposed to serve as the glyph for missing glyphs. I'll see if I can update epaint...

I tried reading the code, and it looks like `ab_glyph::GlyphId(0)` has a special meaning in epaint to get substituted with the replacement character. I'm not sure whether `ab_glyph::GlyphId` is the...