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

Support bottom to top pixel arrangement #41

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dejavu1987
Copy link

Hi,

I encountered an issue when trying to use an image generated by your encoder with a tool, it turns out it only supported BMP with bottom-top arrangement and positive height on the header.

I just added an argument to be able to select which mode you want to encode in.

The encode() function will work the same as before if you only provide imageData and no bottomTop argument.

you can use encode(imageData, true) to encode with bottomTop approach.

regards
Anil

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.

1 participant