Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Showing images in notification #2

Closed
epichb opened this issue May 25, 2016 · 4 comments
Closed

Showing images in notification #2

epichb opened this issue May 25, 2016 · 4 comments

Comments

@epichb
Copy link

epichb commented May 25, 2016

Would it be possible to include Application images in the notifications like Visor or the default Notifications do it? This makes quickly identifying notification types a lot easier.

@BobVul
Copy link
Owner

BobVul commented Jun 9, 2016

Hm. That shouldn't be too difficult (hopefully!) but I'm going to have to come up with better communications rather than the current bodge with command line arguments.

@BobVul
Copy link
Owner

BobVul commented Jun 9, 2016

@epichb, this is now available in v0.2a2. Please let me know how it goes!

At the moment, I'm dumping these images into the temp folder. Might look into a way to avoid that later, but the Win10 Toast only takes URIs, not raw image data -- and a data URI is too long.

@BobVul BobVul closed this as completed Jun 9, 2016
@epichb
Copy link
Author

epichb commented Jun 9, 2016

@Elusive138 works great.

You might want to think about scaling the images. As you can see in my attachment, the standard notification display scales the image to fit the quadratic frame. This is only an issue if the source application uses non-standard aspect ratios, so not strictly necessary if you assume to work with applications keeping to standard growl formats.

toast vs standard

@BobVul
Copy link
Owner

BobVul commented Jun 10, 2016

@epichb Sure, I'll take a look at that. I'll see if I can preserve the aspect ratio. Will also need to figure out what max size Windows allows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants