special encoding for the image in flipbook demo