Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
API/Write/Photos
(view source)
Revision as of 13:10, 12 January 2019
152 bytes added
,
13:10, 12 January 2019
→Rotating a photo
Line 284:
Line 284:
<pre>Test server: https://world.openfoodfacts.net/cgi/product_image_rotate.pl</pre>
<pre>Test server: https://world.openfoodfacts.net/cgi/product_image_rotate.pl</pre>
<pre>Live server: https://world.openfoodfacts.org/cgi/product_image_rotate.pl</pre>
<pre>Live server: https://world.openfoodfacts.org/cgi/product_image_rotate.pl</pre>
−
=====
Values and output
=====
+
=====
Getting the preview
=====
Parameters:
Parameters:
<pre>
<pre>
Line 302:
Line 302:
}
}
</pre>
</pre>
+
===== Actually rotating the photo =====
+
https://world.openfoodfacts.org/cgi/product_image_crop.pl?code=3266110700910&id=nutrition_fr&imgid=1&angle=90
==== Removing background on a photo ("White magic") ====
==== Removing background on a photo ("White magic") ====
Teolemon
Bureaucrats
,
Interface administrators
,
Suppressors
,
Administrators
3,997
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Log in
Open Food Facts galaxy
Where am I?
Open Food Facts website
Open Food Facts wiki
Main page
Recent changes
Random page
Open Beauty Facts wiki
Main page
Whole wiki
Help about MediaWiki
Icons in the wiki
Tools
Special pages
Printable version
Admins
Edit sidebar
Styling
Replace text
Special Pages