Retry implement core graphics image generate