Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Under Alpha Composition

  icon = snowy.load('snowflake.png')
  icon = snow.resize(snowflake, height=100)
  sunset[:100,200:300] = snowy.compose(sunset[:100,200:300], icon)
  snowy.show(sunset)
Pretty sure you meant to say on line 2 `icon = snowy.resize(icon, height=100)`


Thanks, this is fixed now.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: