Skip to content

Convert Option noPictures not working #81

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

Activity

  1. Fdawgs commented on May 27, 2021

    @Fdawgs
    Owner

    Thanks for the report @olliebreeden, this appears to be an issue with the UnRTF Windows binary itself and not the wrapper module.
    --nopict is provided to the underlying binary, but is completely ignored 😕.

    This is hopefully something that #2 will fix, as v0.20.4 is supposed to resolve this.

  2. github-actions commented on Jul 1, 2026

    @github-actions
    Contributor

    This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  3. locked as resolved and limited conversation to collaborators on Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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