Skip to content

Convert Option noPictures not working #81

@semics-tech

Description

@semics-tech

Describe the bug

The option noPictures when set to true does not seem to do anything. I would expect this to not create files for pictures contained within the .rtf file but still creates the files when set to true or false.

To Reproduce

Steps to reproduce the behavior:

unRTF.convert(file.Path, {
noPictures: true,
outputText: true,
})

  1. Run the conversion function
  2. Output text is correct
  3. .wmf Files are created which contain pictures within the .rtf file
  4. Switching this to true or false does nothing.

Expected behavior

Images are not created when set to true

Desktop (please complete the following information)

  • OS: Windows
  • Version Windows 10
  • Node.js Version v14.17.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions