xRyul / obsidian-image-converter

⚡️ Convert and compress images from one format to another by drag'n'dropping or pasting files into the note.
MIT License
111 stars 11 forks source link

Conversion doesn't retain transparency. #11

Closed terrybjr closed 6 months ago

terrybjr commented 7 months ago

Any images that have transparent backgrounds convert to white backgrounds with this plugin. This makes the plugin un-usable for my purposes. Everything else looks great though!

image image
juanbretti commented 7 months ago

Which image format are you using?

terrybjr commented 7 months ago

This is from png to webp, or png to png. Both cases create this white background. But if I paste the png into obsidian by itself without using the module it pastes without the background.

My specific use case is copying the images out of a rpg pdf. This copies the png. The dark image above of the woman without the background is me pasting the raw image into one note just to prove the image has a transparent background.

xRyul commented 6 months ago

Fixed with Release 1.1.5