(lookup_image): Save frame foreground and background colors.