exportgraphicsinv

Desire dark mode for your images? This function exports images with inverted colors.

You are now following this Submission

One way is to use the getframe function, but control over the resolution of the exported image is lost.
The alternative, this function, is to export a normal image - read the image, invert its colors, and save the inverted image with a resultant black background.
With this approach, you still retain all the flexibility of exportgraphics.

Cite As

Tanmay Chhatbar (2026). exportgraphicsinv (https://in.mathworks.com/matlabcentral/fileexchange/171084-exportgraphicsinv), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0