-
Notifications
You must be signed in to change notification settings - Fork 45
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
BenjaminAbt
wants to merge
12
commits into
FritzAndFriends:dev
Choose a base branch
from
BenjaminAbt:feature/add-bitmap-support
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
add bitmap support #171
BenjaminAbt
wants to merge
12
commits into
FritzAndFriends:dev
from
BenjaminAbt:feature/add-bitmap-support
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 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)
Release to support StreamDeck 4.1
Release v0.5.0
Updated nuspec
…lkit into feature/add-bitmap-support
BenjaminAbt
commented
Jun 8, 2021
_logger?.LogDebug("Getting Image from Bitmap"); | ||
|
||
byte[] imgBytes; | ||
using (var imgByteStream = new MemoryStream()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
at this point we could use https://github.com/microsoft/Microsoft.IO.RecyclableMemoryStream
BenjaminAbt
commented
Jun 11, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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