Skip to content

image scale issue #1592

Open
Open
@HZHUZZZ

Description

@HZHUZZZ

This is:

Expected Behavior

when i transed docx to html, i except the image size to stay the same.

Current Behavior

image in html displayed orginal size and lose the scale attr setted in docx

Failure Information

no

How to Reproduce

$phpWord = \PhpOffice\PhpWord\IOFactory::load('/test2.docx');
$htmlWriter = new \PhpOffice\PhpWord\Writer\HTML($phpWord);
$htmlWriter->save('/test1doc.html');

Context

  • PHP version: 5.3
  • PHPWord version: 0.16

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions