The function image_query_pixel was implemented.