Back to smooth algorithm

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
sigonasr2 3 years ago
parent bb52b2737d
commit e21a814abf
  1. BIN
      bin/SigShare.jar
  2. BIN
      bin/screenshot.jpg
  3. BIN
      bin/screenshot_out.jpg
  4. 2
      src/sig/engine/Panel.java

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

@ -107,7 +107,7 @@ public class Panel extends JPanel implements Runnable {
// ask ImageProducer to update image
mImageProducer.newPixels();
// draw it on panel
Image f = this.imageBuffer.getScaledInstance(getWidth(), getHeight(), Image.SCALE_FAST);
Image f = this.imageBuffer.getScaledInstance(getWidth(), getHeight(), Image.SCALE_SMOOTH);
g.drawImage(f, 0, 0, this);
f.flush();

Loading…
Cancel
Save