Images
Rotate Image
Although we recommend rotating photos manually and uploading a new version of the image, the OFF API allows you to make api calls to automate this process. You can rotate existing photos by setting the angle to 90º, 180º, or 270º clockwise.
curl -X GET "https://world.openfoodfacts.net/cgi/product_image_crop.pl?code=4251105501381&id=ingredients_en&imgid=1&angle=90"
{
"status": "status ok",
"imagefield": "nutrition_fr",
"image": {
"display_url": "nutrition_fr.67.400.jpg"
}
}