RickStrahl / SaveToAzureBlob-MarkdownMonster-Addin

Markdown Monster Addin to open or paste images from your local machine and save them in Azure Blob Storage and embed link into your post.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Copy and paste from snagit not working

marcusyoung opened this issue · comments

@RickStrahl Unfortunately, it seems that the combination of v1.23.18 and v0.22.1 broke this again.

Originally posted by @marcusyoung in #11 (comment)

Give it another try with 1.27.18.1...

I've added some conditional logic that attempts to detect where the clipboard image is coming from and uses the appropriate mechanism. Unfortunately there's no clear indicator, but I'm using some positional characteristics.

The reason for all this is that if possible we want to use the native WPF behavior which supports transparent images, while the 'odd' paste format SnagIt uses (I think it has to do with the color depth which comes in at 24 bits vs. 32 from browsers).

Long story short for SnagIt, Windows, Chromium Mozilla you all get the right results now and most everything else is likely to fall back to the conservative, non-transparent clipboard format.

You only have to update MM - the Azure Addin should pick up the change from MM.

Unfortunately that seems to have broken the azure plugin. Now unable to launch it as get this error message. I've tried uninstalling and reinstalling the plugin.

2020-08-27_11-01-18