private final int[] pixels;
public AWTImageMonochromeBitmapSource(Image image) throws ReaderException {
- super(image.getHeight(null), image.getWidth(null));
+ super(image.getWidth(null), image.getHeight(null));
int height = getHeight();
int width = getWidth();
pixels = new int[height * width];