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

Custom banner bitmap must be multiple of 4 pixels wide #1819

Closed
ekofluid-it opened this issue Mar 3, 2021 · 7 comments · Fixed by #1962
Closed

Custom banner bitmap must be multiple of 4 pixels wide #1819

ekofluid-it opened this issue Mar 3, 2021 · 7 comments · Fixed by #1962

Comments

@ekofluid-it
Copy link

Custom bitmap is rendered incorrectly.

Bitmap was created in Microsoft Paint (standard 24bit bmp).

Bitmap and the result:
banner1
bitmapinc

@matt335672
Copy link
Member

@ekofluid-it - could I trouble you to add both images as github attatchments?

Neither of the links above are downloadable as image files with wget - they resolve to html files. Security issues aside, we can't be sure we're looking at what you're looking at. In particular, we need to see your raw bmp file, and the image you're displaying above looks like a png.

@jsorg71
Copy link
Contributor

jsorg71 commented Mar 3, 2021

Can you try to align the width of the image to a multiple of 4

@ekofluid-it
Copy link
Author

ekofluid-it commented Mar 4, 2021

Hi guys, thanks for responding.

@matt335672
Here is original bmp file (in zip Github didn't allowed me to upload bmp)
banner1_original.zip

@jsorg71 Sorry, I don't understand what do you mean.

@ekofluid-it
Copy link
Author

bitmapinc

And I forgot here is results.

@jsorg71
Copy link
Contributor

jsorg71 commented Mar 4, 2021

@ekofluid-it sorry, the image is 450x75, either change it to 448x75 or 452x75
I don't think height matters.

@ekofluid-it
Copy link
Author

ekofluid-it commented Mar 4, 2021

@ekofluid-it sorry, the image is 450x75, either change it to 448x75 or 452x75
I don't think height matters.

IT WORKED, your solution to change it to 452x75 worked and now its now displayed correctly.
Thank you !

@matt335672 matt335672 changed the title Incorrect rendering of custom banner bitmap Custom banner bitmap must be multiple of 4 pixels wide Mar 4, 2021
@matt335672
Copy link
Member

Thanks @jsorg71

I suggest we leave this open for now as a minor issue that we can look at when we get a bit of time.

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

Successfully merging a pull request may close this issue.

3 participants