If that's the assumption, how is your "always check the manual, always do the testing" admonishment relevant? The manual doesn't say anything about whether getPixel interpolates, and obviously OP did the testing, that's why this thread is here. I don't see how these remarks are on topic.Assumption was that getPixel would interpolate if you supply it with halfway between pixels coordinates.
How do you expect anyone to know if anything's "100% by design" when there's no formal specification for either the Lua language or the Love framework? Things work how they work. If the Lua manual or Love wiki doesn't say not to do something, and the thing is otherwise consistent with the documentation (say, passing numbers to getPixel), you simply have no way to know whether it's "100% by design" unless you go digging around looking at code comments / commit messages / mailing lists, and are lucky enough to find something relevant.The undefined behavior remark was there to specifically mention that even if you test something and it works but it's not 100% intended by design, you shouldn't use it anyway - that prevents "works on my machine" debacles.
Anyway, I don't believe your remarks are relevant to this thread, unless there is actually some undefined behavior or bug here. If you believe there is, why not be specific about what you mean? If you don't believe there is, you're off topic.