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

add bitmap support #171

Open
wants to merge 12 commits into
base: dev
Choose a base branch
from

Conversation

BenjaminAbt
Copy link

@BenjaminAbt BenjaminAbt commented Jun 8, 2021

This pull request adds the possibility that you can directly insert a bitmap into the StreamDeck context.

This makes it easier to draw button display content directly

csharpfritz and others added 10 commits February 19, 2019 21:19
* Small Powershell Fix (FritzAndFriends#88)

* commented out starting of the stream deck app - this is handled in the Debug -> Application Arguments

* Fixed the Fritz.png error

* restored the osx post build script and added detailed comments (FritzAndFriends#90)

* Updates to the Powershell script (FritzAndFriends#98)

* Refactored to an Proxy interface to address FritzAndFriends#47

* Added remaining EventsSent to ConfigurationManager

* Attempting to eliminate memory leak

* Adding script to test the Plugin template

* WIP

* Updated to be more cross-platform friendly

* Re-added cheer graffiti

* Prevent displaying errors in PowerShell script to the user (FritzAndFriends#93)

* bugfix/Silence-non-critical-PowerShell-errors: Prevent displaying errors for operations which can expectedly fail

* bugfix/Silence-non-critical-PowerShell-errors: Make the template's .ps1 file match the sample

* bugfix/Update-gitignore-with-VSCode-files: Add ignorables for VSCode (FritzAndFriends#94)

* Feature/sample property inspector (FritzAndFriends#95)

* work in progress - sample property inspector

* worked through intricacies of the deserialized dynamic payload

* Updated Templates

* Attempt to fix the template test (FritzAndFriends#100)

* Refactored to an Proxy interface to address FritzAndFriends#47

* Added remaining EventsSent to ConfigurationManager

* Attempting to eliminate memory leak

* Adding script to test the Plugin template

* WIP

* Updated to be more cross-platform friendly

* Re-added cheer graffiti

* Added a no-restore directive to the testTemplate script

* Released (FritzAndFriends#104)

* Release (FritzAndFriends#101)

* Small Powershell Fix (FritzAndFriends#88)

* commented out starting of the stream deck app - this is handled in the Debug -> Application Arguments

* Fixed the Fritz.png error

* restored the osx post build script and added detailed comments (FritzAndFriends#90)

* Updates to the Powershell script (FritzAndFriends#98)

* Refactored to an Proxy interface to address FritzAndFriends#47

* Added remaining EventsSent to ConfigurationManager

* Attempting to eliminate memory leak

* Adding script to test the Plugin template

* WIP

* Updated to be more cross-platform friendly

* Re-added cheer graffiti

* Prevent displaying errors in PowerShell script to the user (FritzAndFriends#93)

* bugfix/Silence-non-critical-PowerShell-errors: Prevent displaying errors for operations which can expectedly fail

* bugfix/Silence-non-critical-PowerShell-errors: Make the template's .ps1 file match the sample

* bugfix/Update-gitignore-with-VSCode-files: Add ignorables for VSCode (FritzAndFriends#94)

* Feature/sample property inspector (FritzAndFriends#95)

* work in progress - sample property inspector

* worked through intricacies of the deserialized dynamic payload

* Updated Templates

* Attempt to fix the template test (FritzAndFriends#100)

* Refactored to an Proxy interface to address FritzAndFriends#47

* Added remaining EventsSent to ConfigurationManager

* Attempting to eliminate memory leak

* Adding script to test the Plugin template

* WIP

* Updated to be more cross-platform friendly

* Re-added cheer graffiti

* Release with fix to testTemplate (FritzAndFriends#103)

* Small Powershell Fix (FritzAndFriends#88)

* commented out starting of the stream deck app - this is handled in the Debug -> Application Arguments

* Fixed the Fritz.png error

* restored the osx post build script and added detailed comments (FritzAndFriends#90)

* Updates to the Powershell script (FritzAndFriends#98)

* Refactored to an Proxy interface to address FritzAndFriends#47

* Added remaining EventsSent to ConfigurationManager

* Attempting to eliminate memory leak

* Adding script to test the Plugin template

* WIP

* Updated to be more cross-platform friendly

* Re-added cheer graffiti

* Prevent displaying errors in PowerShell script to the user (FritzAndFriends#93)

* bugfix/Silence-non-critical-PowerShell-errors: Prevent displaying errors for operations which can expectedly fail

* bugfix/Silence-non-critical-PowerShell-errors: Make the template's .ps1 file match the sample

* bugfix/Update-gitignore-with-VSCode-files: Add ignorables for VSCode (FritzAndFriends#94)

* Feature/sample property inspector (FritzAndFriends#95)

* work in progress - sample property inspector

* worked through intricacies of the deserialized dynamic payload

* Updated Templates

* Attempt to fix the template test (FritzAndFriends#100)

* Refactored to an Proxy interface to address FritzAndFriends#47

* Added remaining EventsSent to ConfigurationManager

* Attempting to eliminate memory leak

* Adding script to test the Plugin template

* WIP

* Updated to be more cross-platform friendly

* Re-added cheer graffiti

* Added a no-restore directive to the testTemplate script

* extraneous $bindir concatenation causing issues with copying of files - removed that line of code so it copies over properly (FritzAndFriends#105)

* introduced a view model in js to support multiple field property inspectors (FritzAndFriends#108)

* [WIP] Proposal: Refactor Registration Scripts (FritzAndFriends#110)

* migrating registration scripts to a central spot shared by all projects

* adding a .gitattributes to prevent cross platform whitespace munging as well as some merge hinting

* fix to always pull from current working directory, added logic to pull the csproj file from the working directory as well by file type rather than by name

* introduced the most recent powershell changes into this version of the script

* this could be a white space issue.

* Move plugin logic into action classes (FritzAndFriends#111)

* Add a method to immediately attach a debugger before any functional code has run.

* Make changes so that a plugin can support multiple actions
Add and throw exceptions for validating actions
Convert "MySamplePlugin" to be an action/handler
Refactor cancellation token and add ConnectionManager unit tests

* Fix build errors from merge misses
Mark refactored classes and methods with the "Obsolete" attribute for now.

* Update the template to reflect the changes in the SamplePlugin

Use the new BaseStreamDeckAction class
Update the README with information on creating a new action

* Fixed missing method that got dropped during merge

*  Addressed logger and memory leak issues FritzAndFriends#73 FritzAndFriends#114  (FritzAndFriends#117)

* Refactored to an Proxy interface to address FritzAndFriends#47

* Added remaining EventsSent to ConfigurationManager

* Attempting to eliminate memory leak

* Adding script to test the Plugin template

* WIP

* Updated to be more cross-platform friendly

* Re-added cheer graffiti

* Cleaning up the inner-loop build-debug-process

* Addressed logger and memory leak issues FritzAndFriends#73 FritzAndFriends#114

* Added Default Configuration Builder (FritzAndFriends#118)

* Refactored to an Proxy interface to address FritzAndFriends#47

* Added remaining EventsSent to ConfigurationManager

* Attempting to eliminate memory leak

* Adding script to test the Plugin template

* WIP

* Updated to be more cross-platform friendly

* Re-added cheer graffiti

* Cleaning up the inner-loop build-debug-process

* Addressed logger and memory leak issues FritzAndFriends#73 FritzAndFriends#114

* Added a default configuration builder FritzAndFriends#34

 Addressed logger and memory leak issues FritzAndFriends#73 FritzAndFriends#114  (FritzAndFriends#117)

* Refactored to an Proxy interface to address FritzAndFriends#47

* Added remaining EventsSent to ConfigurationManager

* Attempting to eliminate memory leak

* Adding script to test the Plugin template

* WIP

* Updated to be more cross-platform friendly

* Re-added cheer graffiti

* Cleaning up the inner-loop build-debug-process

* Addressed logger and memory leak issues FritzAndFriends#73 FritzAndFriends#114

* Added UUID constructor to fix FritzAndFriends#119 (FritzAndFriends#121)

* Refactored to an Proxy interface to address FritzAndFriends#47

* Added remaining EventsSent to ConfigurationManager

* Attempting to eliminate memory leak

* Adding script to test the Plugin template

* WIP

* Updated to be more cross-platform friendly

* Re-added cheer graffiti

* Cleaning up the inner-loop build-debug-process

* Addressed logger and memory leak issues FritzAndFriends#73 FritzAndFriends#114

* Added a default configuration builder FritzAndFriends#34

 Addressed logger and memory leak issues FritzAndFriends#73 FritzAndFriends#114  (FritzAndFriends#117)

* Refactored to an Proxy interface to address FritzAndFriends#47

* Added remaining EventsSent to ConfigurationManager

* Attempting to eliminate memory leak

* Adding script to test the Plugin template

* WIP

* Updated to be more cross-platform friendly

* Re-added cheer graffiti

* Cleaning up the inner-loop build-debug-process

* Addressed logger and memory leak issues FritzAndFriends#73 FritzAndFriends#114

* Fixed some tests, added UUID constructor for FritzAndFriends#119

*  Added a 'RegisterAllActions' feature to the ConnectionManager  (FritzAndFriends#122)

* Refactored to an Proxy interface to address FritzAndFriends#47

* Added remaining EventsSent to ConfigurationManager

* Attempting to eliminate memory leak

* Adding script to test the Plugin template

* WIP

* Updated to be more cross-platform friendly

* Re-added cheer graffiti

* Cleaning up the inner-loop build-debug-process

* Addressed logger and memory leak issues FritzAndFriends#73 FritzAndFriends#114

* Added a default configuration builder FritzAndFriends#34

 Addressed logger and memory leak issues FritzAndFriends#73 FritzAndFriends#114  (FritzAndFriends#117)

* Refactored to an Proxy interface to address FritzAndFriends#47

* Added remaining EventsSent to ConfigurationManager

* Attempting to eliminate memory leak

* Adding script to test the Plugin template

* WIP

* Updated to be more cross-platform friendly

* Re-added cheer graffiti

* Cleaning up the inner-loop build-debug-process

* Addressed logger and memory leak issues FritzAndFriends#73 FritzAndFriends#114

* Fixed some tests, added UUID constructor for FritzAndFriends#119

* Added a 'RegisterAllActions' feature to the ConnectionManager

* Fixed configuration to use the current executing assembly (FritzAndFriends#127)

* Refactored to an Proxy interface to address FritzAndFriends#47

* Added remaining EventsSent to ConfigurationManager

* Attempting to eliminate memory leak

* Adding script to test the Plugin template

* WIP

* Updated to be more cross-platform friendly

* Re-added cheer graffiti

* Cleaning up the inner-loop build-debug-process

* Addressed logger and memory leak issues FritzAndFriends#73 FritzAndFriends#114

* Added a default configuration builder FritzAndFriends#34

 Addressed logger and memory leak issues FritzAndFriends#73 FritzAndFriends#114  (FritzAndFriends#117)

* Refactored to an Proxy interface to address FritzAndFriends#47

* Added remaining EventsSent to ConfigurationManager

* Attempting to eliminate memory leak

* Adding script to test the Plugin template

* WIP

* Updated to be more cross-platform friendly

* Re-added cheer graffiti

* Cleaning up the inner-loop build-debug-process

* Addressed logger and memory leak issues FritzAndFriends#73 FritzAndFriends#114

* Fixed some tests, added UUID constructor for FritzAndFriends#119

* Added a 'RegisterAllActions' feature to the ConnectionManager

* Updated to properly configure current folder
* Small Powershell Fix (FritzAndFriends#88)

* commented out starting of the stream deck app - this is handled in the Debug -> Application Arguments

* Fixed the Fritz.png error

* restored the osx post build script and added detailed comments (FritzAndFriends#90)

* Updates to the Powershell script (FritzAndFriends#98)

* Refactored to an Proxy interface to address FritzAndFriends#47

* Added remaining EventsSent to ConfigurationManager

* Attempting to eliminate memory leak

* Adding script to test the Plugin template

* WIP

* Updated to be more cross-platform friendly

* Re-added cheer graffiti

* Prevent displaying errors in PowerShell script to the user (FritzAndFriends#93)

* bugfix/Silence-non-critical-PowerShell-errors: Prevent displaying errors for operations which can expectedly fail

* bugfix/Silence-non-critical-PowerShell-errors: Make the template's .ps1 file match the sample

* bugfix/Update-gitignore-with-VSCode-files: Add ignorables for VSCode (FritzAndFriends#94)

* Feature/sample property inspector (FritzAndFriends#95)

* work in progress - sample property inspector

* worked through intricacies of the deserialized dynamic payload

* Updated Templates

* Attempt to fix the template test (FritzAndFriends#100)

* Refactored to an Proxy interface to address FritzAndFriends#47

* Added remaining EventsSent to ConfigurationManager

* Attempting to eliminate memory leak

* Adding script to test the Plugin template

* WIP

* Updated to be more cross-platform friendly

* Re-added cheer graffiti

* Added a no-restore directive to the testTemplate script

* Released (FritzAndFriends#104)

* Release (FritzAndFriends#101)

* Small Powershell Fix (FritzAndFriends#88)

* commented out starting of the stream deck app - this is handled in the Debug -> Application Arguments

* Fixed the Fritz.png error

* restored the osx post build script and added detailed comments (FritzAndFriends#90)

* Updates to the Powershell script (FritzAndFriends#98)

* Refactored to an Proxy interface to address FritzAndFriends#47

* Added remaining EventsSent to ConfigurationManager

* Attempting to eliminate memory leak

* Adding script to test the Plugin template

* WIP

* Updated to be more cross-platform friendly

* Re-added cheer graffiti

* Prevent displaying errors in PowerShell script to the user (FritzAndFriends#93)

* bugfix/Silence-non-critical-PowerShell-errors: Prevent displaying errors for operations which can expectedly fail

* bugfix/Silence-non-critical-PowerShell-errors: Make the template's .ps1 file match the sample

* bugfix/Update-gitignore-with-VSCode-files: Add ignorables for VSCode (FritzAndFriends#94)

* Feature/sample property inspector (FritzAndFriends#95)

* work in progress - sample property inspector

* worked through intricacies of the deserialized dynamic payload

* Updated Templates

* Attempt to fix the template test (FritzAndFriends#100)

* Refactored to an Proxy interface to address FritzAndFriends#47

* Added remaining EventsSent to ConfigurationManager

* Attempting to eliminate memory leak

* Adding script to test the Plugin template

* WIP

* Updated to be more cross-platform friendly

* Re-added cheer graffiti

* Release with fix to testTemplate (FritzAndFriends#103)

* Small Powershell Fix (FritzAndFriends#88)

* commented out starting of the stream deck app - this is handled in the Debug -> Application Arguments

* Fixed the Fritz.png error

* restored the osx post build script and added detailed comments (FritzAndFriends#90)

* Updates to the Powershell script (FritzAndFriends#98)

* Refactored to an Proxy interface to address FritzAndFriends#47

* Added remaining EventsSent to ConfigurationManager

* Attempting to eliminate memory leak

* Adding script to test the Plugin template

* WIP

* Updated to be more cross-platform friendly

* Re-added cheer graffiti

* Prevent displaying errors in PowerShell script to the user (FritzAndFriends#93)

* bugfix/Silence-non-critical-PowerShell-errors: Prevent displaying errors for operations which can expectedly fail

* bugfix/Silence-non-critical-PowerShell-errors: Make the template's .ps1 file match the sample

* bugfix/Update-gitignore-with-VSCode-files: Add ignorables for VSCode (FritzAndFriends#94)

* Feature/sample property inspector (FritzAndFriends#95)

* work in progress - sample property inspector

* worked through intricacies of the deserialized dynamic payload

* Updated Templates

* Attempt to fix the template test (FritzAndFriends#100)

* Refactored to an Proxy interface to address FritzAndFriends#47

* Added remaining EventsSent to ConfigurationManager

* Attempting to eliminate memory leak

* Adding script to test the Plugin template

* WIP

* Updated to be more cross-platform friendly

* Re-added cheer graffiti

* Added a no-restore directive to the testTemplate script

* extraneous $bindir concatenation causing issues with copying of files - removed that line of code so it copies over properly (FritzAndFriends#105)

* introduced a view model in js to support multiple field property inspectors (FritzAndFriends#108)

* [WIP] Proposal: Refactor Registration Scripts (FritzAndFriends#110)

* migrating registration scripts to a central spot shared by all projects

* adding a .gitattributes to prevent cross platform whitespace munging as well as some merge hinting

* fix to always pull from current working directory, added logic to pull the csproj file from the working directory as well by file type rather than by name

* introduced the most recent powershell changes into this version of the script

* this could be a white space issue.

* Move plugin logic into action classes (FritzAndFriends#111)

* Add a method to immediately attach a debugger before any functional code has run.

* Make changes so that a plugin can support multiple actions
Add and throw exceptions for validating actions
Convert "MySamplePlugin" to be an action/handler
Refactor cancellation token and add ConnectionManager unit tests

* Fix build errors from merge misses
Mark refactored classes and methods with the "Obsolete" attribute for now.

* Update the template to reflect the changes in the SamplePlugin

Use the new BaseStreamDeckAction class
Update the README with information on creating a new action

* Fixed missing method that got dropped during merge

*  Addressed logger and memory leak issues FritzAndFriends#73 FritzAndFriends#114  (FritzAndFriends#117)

* Refactored to an Proxy interface to address FritzAndFriends#47

* Added remaining EventsSent to ConfigurationManager

* Attempting to eliminate memory leak

* Adding script to test the Plugin template

* WIP

* Updated to be more cross-platform friendly

* Re-added cheer graffiti

* Cleaning up the inner-loop build-debug-process

* Addressed logger and memory leak issues FritzAndFriends#73 FritzAndFriends#114

* Added Default Configuration Builder (FritzAndFriends#118)

* Refactored to an Proxy interface to address FritzAndFriends#47

* Added remaining EventsSent to ConfigurationManager

* Attempting to eliminate memory leak

* Adding script to test the Plugin template

* WIP

* Updated to be more cross-platform friendly

* Re-added cheer graffiti

* Cleaning up the inner-loop build-debug-process

* Addressed logger and memory leak issues FritzAndFriends#73 FritzAndFriends#114

* Added a default configuration builder FritzAndFriends#34

 Addressed logger and memory leak issues FritzAndFriends#73 FritzAndFriends#114  (FritzAndFriends#117)

* Refactored to an Proxy interface to address FritzAndFriends#47

* Added remaining EventsSent to ConfigurationManager

* Attempting to eliminate memory leak

* Adding script to test the Plugin template

* WIP

* Updated to be more cross-platform friendly

* Re-added cheer graffiti

* Cleaning up the inner-loop build-debug-process

* Addressed logger and memory leak issues FritzAndFriends#73 FritzAndFriends#114

* Added UUID constructor to fix FritzAndFriends#119 (FritzAndFriends#121)

* Refactored to an Proxy interface to address FritzAndFriends#47

* Added remaining EventsSent to ConfigurationManager

* Attempting to eliminate memory leak

* Adding script to test the Plugin template

* WIP

* Updated to be more cross-platform friendly

* Re-added cheer graffiti

* Cleaning up the inner-loop build-debug-process

* Addressed logger and memory leak issues FritzAndFriends#73 FritzAndFriends#114

* Added a default configuration builder FritzAndFriends#34

 Addressed logger and memory leak issues FritzAndFriends#73 FritzAndFriends#114  (FritzAndFriends#117)

* Refactored to an Proxy interface to address FritzAndFriends#47

* Added remaining EventsSent to ConfigurationManager

* Attempting to eliminate memory leak

* Adding script to test the Plugin template

* WIP

* Updated to be more cross-platform friendly

* Re-added cheer graffiti

* Cleaning up the inner-loop build-debug-process

* Addressed logger and memory leak issues FritzAndFriends#73 FritzAndFriends#114

* Fixed some tests, added UUID constructor for FritzAndFriends#119

*  Added a 'RegisterAllActions' feature to the ConnectionManager  (FritzAndFriends#122)

* Refactored to an Proxy interface to address FritzAndFriends#47

* Added remaining EventsSent to ConfigurationManager

* Attempting to eliminate memory leak

* Adding script to test the Plugin template

* WIP

* Updated to be more cross-platform friendly

* Re-added cheer graffiti

* Cleaning up the inner-loop build-debug-process

* Addressed logger and memory leak issues FritzAndFriends#73 FritzAndFriends#114

* Added a default configuration builder FritzAndFriends#34

 Addressed logger and memory leak issues FritzAndFriends#73 FritzAndFriends#114  (FritzAndFriends#117)

* Refactored to an Proxy interface to address FritzAndFriends#47

* Added remaining EventsSent to ConfigurationManager

* Attempting to eliminate memory leak

* Adding script to test the Plugin template

* WIP

* Updated to be more cross-platform friendly

* Re-added cheer graffiti

* Cleaning up the inner-loop build-debug-process

* Addressed logger and memory leak issues FritzAndFriends#73 FritzAndFriends#114

* Fixed some tests, added UUID constructor for FritzAndFriends#119

* Added a 'RegisterAllActions' feature to the ConnectionManager

* Fixed configuration to use the current executing assembly (FritzAndFriends#127)

* Refactored to an Proxy interface to address FritzAndFriends#47

* Added remaining EventsSent to ConfigurationManager

* Attempting to eliminate memory leak

* Adding script to test the Plugin template

* WIP

* Updated to be more cross-platform friendly

* Re-added cheer graffiti

* Cleaning up the inner-loop build-debug-process

* Addressed logger and memory leak issues FritzAndFriends#73 FritzAndFriends#114

* Added a default configuration builder FritzAndFriends#34

 Addressed logger and memory leak issues FritzAndFriends#73 FritzAndFriends#114  (FritzAndFriends#117)

* Refactored to an Proxy interface to address FritzAndFriends#47

* Added remaining EventsSent to ConfigurationManager

* Attempting to eliminate memory leak

* Adding script to test the Plugin template

* WIP

* Updated to be more cross-platform friendly

* Re-added cheer graffiti

* Cleaning up the inner-loop build-debug-process

* Addressed logger and memory leak issues FritzAndFriends#73 FritzAndFriends#114

* Fixed some tests, added UUID constructor for FritzAndFriends#119

* Added a 'RegisterAllActions' feature to the ConnectionManager

* Updated to properly configure current folder

* Configuring IsTestProject (FritzAndFriends#129)
@BenjaminAbt BenjaminAbt changed the title Feature/add bitmap support add bitmap support Jun 8, 2021
_logger?.LogDebug("Getting Image from Bitmap");

byte[] imgBytes;
using (var imgByteStream = new MemoryStream())
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Successfully merging this pull request may close these issues.

2 participants