Find BooBoo on nooskewl.com!
BooBoo jpeg example
Topic: BooBoo
Here is an example using the jpeg mod: link
Replies (3)
As you can see there is no difference in the BooBoo program except the .jpg extension. The draw function just stretches it to fit vertically:
Today I fixed linear filtering also, by generating mipmaps so you can get it to scale nicely.
var img
= img (image_load "Maggie.jpg")
function draw
{
var w h
explode (image_size img) w h
var r
= r (/ 360 h)
var x
= x (/ (- 640 (* r w)) 2)
image_stretch_region img 255 255 255 255 0 0 w h x 0 (* r w) 360
}
Today I fixed linear filtering also, by generating mipmaps so you can get it to scale nicely.
You can put this in jpeg/data/shim5.json to enable linear filtering/mipmapping but you'll have to wait until the next version:
You can also run with +linear-filtering but you'll still have to wait.
{
"shim": {
"gfx": {
"linear_filtering": true
}
}
}You can also run with +linear-filtering but you'll still have to wait.




