ComfyUI-Custom-Scripts icon indicating copy to clipboard operation
ComfyUI-Custom-Scripts copied to clipboard

No support for international character encoding when saving WorkFlow Image > Export > PNG

Open rollingcookies opened this issue 1 year ago • 2 comments

Hello! Please add Unicode for saving of all text fields when exporting Workflow to PNG! Now every time I have to save both versions of Workflow in PNG and JSON, because when I open PNG all non-Latin text characters turn into garbage - it's not comfy!

rollingcookies avatar Mar 20 '24 20:03 rollingcookies

Can you provide an example please, using this unicode test file, the results after loading match. https://www.w3.org/2001/06/utf-8-test/UTF-8-demo.html workflow workflow

pythongosssss avatar Mar 23 '24 17:03 pythongosssss

Hello! I downloaded both images in png and svg and then saved both in png. As you can see, when I opened the png, the characters opened incorrectly and I saved the result to a new png. When I opened the svg the characters were read correctly, but after saving to png and reopening, the characters open incorrectly.

workflow in png opened and resaved in png: workflow in png opened and resaved in png

workflow in svg opened and resaved in png: workflow in svg opened and resaved in png

workflow in svg opened and twice resaved in png: workflow in svg opened and twice resaved in png

rollingcookies avatar Mar 23 '24 18:03 rollingcookies