top | item 46332289

(no title)

jamilton | 2 months ago

The linked GitHub readme says it outputs a powerpoint file of the layers.

discuss

order

Llamamoe|2 months ago

...of all the possible formats, it outputs.. a powerpoint presentation..? What.

dragonwriter|2 months ago

The github repo includes (among other things) a script (relying on python-pptx) to output decomposed layer images into a pptx file “where you can edit and move these layers flexibly.” (I've never user Powerpoint for this, but maybe it is good enough for this and ubiquitous enough that this is sensible?)

djfobbz|2 months ago

Lol, right?!?! I would've expected sequential PNGs followed by SVGs once the model improved.

oefrha|2 months ago

I don't see the word powerpoint anywhere in https://github.com/QwenLM/Qwen-Image-Layered, I only see a code snippet saving a bunch of PNGs:

  with torch.inference_mode():
      output = pipeline(**inputs)
      output_image = output.images[0]
  
  for i, image in enumerate(output_image):
      image.save(f"{i}.png")
Unless it's a joke that went over my head or you're talking about some other GitHub readme (there's only one GitHub link in TFA), posting an outright lie like this is not cool.

dragonwriter|2 months ago

> I don't see the word powerpoint anywhere in https://github.com/QwenLM/Qwen-Image-Layered,

The word "powerpoint" is not there, however this text is:

“The following scripts will start a Gradio-based web interface where you can decompose an image and export the layers into a pptx file, where you can edit and move these layers flexibly.”