Comments (7)
Is it really a bitmap or did you just change .png to .bmp?
You can also set debug log to 1, check for these lines
[17-08-2023 09:21:44] [CCredential.cpp:333] CCredential::GetBitmapValue
[17-08-2023 09:21:44] [CCredential.cpp:346] (long) -1
[17-08-2023 09:21:44] [CCredential.cpp:380] (long) 0
and post them here.
from privacyidea-credential-provider.
I created a new 128x128 BMP image on paint.NET, and pasted a PNG logo on it.
Unless paint.NET saves the BMP in an incompatible version...
Here are the log lines you asked for
[01-09-2023 11:13:22] [CCredential.cpp:333] CCredential::GetBitmapValue
[01-09-2023 11:13:22] [CCredential.cpp:346] (long) 32
[01-09-2023 11:13:22] [CCredential.cpp:355] (long) 0
[01-09-2023 11:13:22] [CCredential.cpp:380] (long) 0
from privacyidea-credential-provider.
hm there is no error but the image is not loaded. LoadImageA
is very picky unfortunately, so you could try creating that image with Paint, that has always worked for me.
from privacyidea-credential-provider.
hmm, in that case i'll try creating one with Paint and see if that works
Cheers
from privacyidea-credential-provider.
Which BMP do you usually save in Paint?
16 color, 256 color or 24-bit?
from privacyidea-credential-provider.
16 iirc, unfortunately you cannot use high quality/transparency....
from privacyidea-credential-provider.
Thanks brother! It worked :)
Created with Paint in 16 color (4 bit-depth), and now the logo shows up!
With Paint.NET the BMP was being saved in 32 bit-depth, and apparently is not supported.
Thanks for the help!
from privacyidea-credential-provider.
Related Issues (20)
- Logon Screen Flashing, without Prompting for Credentials and OTP HOT 5
- Crash on malformed offline file data HOT 1
- Token rollout via challenge-response HOT 1
- Do not require second factor when unlocking system for certain amount of time after having used it last HOT 1
- Remove username input logging HOT 1
- Whitelist for filter by CLSID HOT 1
- Update installer to wix toolset v4
- rename/alias scenario specific config entries
- winget
- Image from network path HOT 2
- Auto-submit after X digits
- add version to useragent, optionally windows version
- Wrong OTP pin HOT 7
- problem with username in UPN format HOT 13
- WebAuthn offline
- otp_hint_text ist not working HOT 3
- enable_reset Text wrong and not editable HOT 2
- webauthn offline show info HOT 1
- HOTP offline does not finish the authentication HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from privacyidea-credential-provider.