How about "Iterables.get(..., 0)" then? That would throw an IndexOutOfBoundsException on an empty iterable, which is perhaps saner in this case? And could you put your explanation regarding the "lighter" images in an short code comment?