Monthly Archives: September 2012

Turning an Image File into a binary Bitmask in Java

Some people who have stumbled across my LED Hoop have asked how I imported the Carrot logo into a bitmask in source code. I thought I had deleted it, but I recently found it… import java.awt.image.BufferedImage; import; import; import javax.imageio.ImageIO; public class ImageRead { public static boolean hilo(int pixel) { int r, g, […]