Changes

Jump to navigation Jump to search
274 bytes added ,  14:13, 29 October 2016
Line 2,020: Line 2,020:     
==== Cropping a photo ====
 
==== Cropping a photo ====
 +
This implies applying operations to a source image (not only cropping, but all the others if applicable). We start from a source image (defined by a barcode and incremental id), apply cropping parameters (x1, y1, x2, y2), additional operations (white_magic, normalize)
 +
<br>
 
<pre>$.post('/cgi/product_image_crop.pl',
 
<pre>$.post('/cgi/product_image_crop.pl',
 
{code: code, id: imagefield , imgid: imgid,
 
{code: code, id: imagefield , imgid: imgid,

Navigation menu