Skip to main content
Skip table of contents

Replacing images

This example was written in response to the question Click How to convert colored images to black and white?

replaceimage

##GITHUB:https://github.com/itext/i7js-examples/blob/develop/src/main/java/com/itextpdf/samples/sandbox/images/ReplaceImage.java##

##GITHUB:https://github.com/itext/i7ns-samples/blob/develop/itext/itext.samples/itext/samples/sandbox/images/ReplaceImage.cs##

Resources

https://github.com/itext/i7js-examples/blob/develop/src/main/resources/pdfs/image.pdf

Results

https://github.com/itext/i7js-examples/blob/develop/cmpfiles/sandbox/images/cmp_replace_image.pdf

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.