newImageFont() gives error - Could not decode image!

Issue #73 resolved
created an issue

The following example errors out with "Error: Could not decode image!". This is in the latest love (tip). {{{


function love.load() img = love.image.newImageData("imagefont.png") font =, " abc") end }}}

It looks like what's happening in the C++ code is that love is trying to convert the image data I pass in, into image data. Attached is the imagefont.png that I used.

Comments (2)

  1. Log in to comment