Using PHPExcel library I show image in excel sheet with code like :
$objDrawingPType = new PHPExcel_Worksheet_Drawing();
$objDrawingPType->setWorksheet( $this->ExcelActiveSheetObj );
$cell_coords = $this->int_coordsto_chars( $image_row, $image_col );
$objDrawingPType->setCoordinates( $cell_coords );
It works but the image it resized by the width, say if this column is autosized then width of image is bigger then it was in original image. I want this image to keep its size as it is.
When in my Libre Office Version: 126.96.36.199 I select this image and by right menu select "Original Size"
then the image is shown in its original size and looks ok.
If PHPExcel lib has command = "Original Size" ?
I tried command
but it does not help. Which is the correct way ?