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 tests for Bitmap <=> Pix conversion #39

Open
GoogleCodeExporter opened this issue Mar 8, 2015 · 1 comment
Open

Add tests for Bitmap <=> Pix conversion #39

GoogleCodeExporter opened this issue Mar 8, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

It looks like conversion from Pic to Bitmap (or vice versa) is not working 
correctly. This should be tested in ReadFileTest or WriteFileTest with a Bitmap 
=> Pic => Bitmap conversion.

Original issue reported on code.google.com by [email protected] on 11 Sep 2012 at 8:53

@alexcohn
Copy link

alexcohn commented Jun 30, 2019

It seems that ReadFileTest.testReadFile_bmp() is redundant. This tests is duplicate of ReadFileTest.testReadFile_png() and uses same PNG file compression.

That's quite natural because Android Bitmap class does not provide an API to save or read BMP file format. This can be done with a 3rd party library, but it does not make much sense to introduce yet another dependency for such minor task.

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

No branches or pull requests

2 participants