Forum Cross Platform with Xamarin

Converting a PNG to a 1 bit B&W Bitmap

JasonAwbreyJasonAwbrey USInsider, University, Developer Group Leader mod

I need a cross-platform method for converting a PNG into a 1 bit bitmap. I need to send the image to a thermal printer that deals with raw bitmaps.

I have a method that sort of works for iOS, but seems easily confused by different bit depths in the source image. Are there any good image processing libraries that are Xamarin friendly? Or is there a simple algorithm I could implement that doesn't depend on any platform-specific graphics primitives?

Sign In or Register to comment.