Incorrect number of frames error.

From what I understand of how Corona ImageSheets work, the following options table should work with the attached image:

local sheetOptions = { width = 128, height = 240, numFrames = 120 }

However, when I try to create the ImageSheet using graphics.newImageSheet I get the following error:

Incorrect number of frames (w,h) = (128,240) with border (0) in texture (w,h) = (128,240). Failed after frame 2 out of 120.

Can someone help me out with this?

width and height are not whole sheet, but the width and height of a cell (aka frame).

Try:
 

local sheetOptions = { width = 16, height = 16, numFrames = 120 }

width and height are not whole sheet, but the width and height of a cell (aka frame).

Try:
 

local sheetOptions = { width = 16, height = 16, numFrames = 120 }