dpradov / keynote-nf

Tabbed notebook with RichText editor, multi-level notes and strong encryption.
Mozilla Public License 2.0
264 stars 56 forks source link

Images no longer imported #686

Closed Stefanoko closed 6 months ago

Stefanoko commented 7 months ago

Existing images still show up fine, but dragging new images into the editor stopped working with version v1.9.2.01 My settings: Img_settings

dpradov commented 7 months ago

Could you do some testing with an empty file, with that same configuration? I tell you this because in my case it works correctly. I'm wondering if it could be something related to the image you're trying to drag. Have you tried inserting it from Insert|Image or incorporating it through the clipboard? It's to see what could be happening.

Have you tried adding the image in the same way with the previous version and has it worked for you?

Stefanoko commented 7 months ago

You are right. I should have dug deeper b4 posting it as an issue. My images are to blame, not Keynote. When I make screenshots from the same image, after displaying it in any picture viewer, the generated screenshots get imported by Keynote without any problem.

False alarm. Thanks for the quick response.

dpradov commented 7 months ago

Out of curiosity, was the image in a different format than those supported by KeyNote? (gif, png, jpg, tif, bmp, wmf, emf)

Stefanoko commented 7 months ago

Actually, it was jpg. At least by extension. But you got me thinking, maybe it had the wrong extension to start with, and so I just tried it with a random picture, and sure enough, Keynote won't import it. See attached file.

For some strange reason, all my picture viewers open it just fine, though. (Faststone, JpegView, Focus-On, Imagine ...). If my picture viewers had not opened it, it would have been easy to spot that there is something wrong with it. But since they all displayed the image, I did not realize the mistake.

scale

dpradov commented 7 months ago

Hello @Stefanoko , from what I see it is a .WEBP format, which is different from .JPG, and is not supported by the library that KeyNote relies on. In fact, the Windows API does not natively support the WebP format.

Stefanoko commented 7 months ago

Makes sense. Easy enough to open those files in a picture viewer, then copy them from there via the Windows clipboard into Keynote. No worries at all.

Thanks for checking into it.