from javax.swing import JOptionPane
from Catalano.Imaging import FastBitmap
from Catalano.Imaging.Filters import Threshold
from jhplot import *
print Web.get("https://datamelt.org/examples/data/logo_jhepwork.png")
fb = FastBitmap("logo_jhepwork.png")
fb.toGrayscale()
t =Threshold(150)
t.applyInPlace(fb)
JOptionPane.showMessageDialog(None, fb.toIcon())
Ads help maintain this website.