Skip to content

nagata-yoshiteru/pbm-ppm-pgm-viewer-for-vscode

Repository files navigation

Built by Yoshietru Nagata 🇯🇵 , Ben Weisz 🇨🇦 , Kensuke Suzuki 🇯🇵 , DanielS6 , Jason Frey 🇺🇸 , Santiago 🇻🇪

Features

  • View .pbm/.ppm/.pgm images in the supported formats:
    • PBM (P1, P4)
    • PPM (P2, P3)
    • PGM (P5, P6)
  • Zoom and Scroll
    • Use the zoom panel to zoom in, out or reset your zoom level
    • Use your scroll wheel or drag your mouse to pan around once zoomed in
    • Use Ctrl key + mouse scroll wheel to zoom in and out
    • Use Default Zoom Level setting to specify your zoom level when opening an image
    • Use Auto Scaling Mode to fit an image to the window size without aliasing
  • Configure the color and the position for your zoom panel
  • Auto refresh viewer when an image file has changes
  • Save an image as PNG format

Extension Settings

  • ppm-pgm-viewer-for-vscode.imagepreview.panelBackgroundColor: Zoom panel background color (default is #ec5340)
  • ppm-pgm-viewer-for-vscode.imagepreview.panelButtonColor : Zoom panel button color (default is #dd4535)
  • ppm-pgm-viewer-for-vscode.imagepreview.defaultPreviewScale : Default zoom level for image preview (default is 1.0)
  • ppm-pgm-viewer-for-vscode.imagepreview.autoScalingMode : Whether to use Auto Scaling Mode (default is false)
  • ppm-pgm-viewer-for-vscode.imagepreview.uiPosition : Panel UI position. (default is left)
  • ppm-pgm-viewer-for-vscode.imagepreview.hidePanel : Hide the panel. (default is false)

Known Issues

  • None that we know of, but feel free to leave us a github issue :)

Release Notes

1.2.0

  • Add "Copy to Clipboard" button

1.1.5

  • Improved rendering method

1.1.4

  • Fix Hide Panel setting feature

1.1.3

  • Security fix

1.1.2

  • Fix for handling P5/P6 images with max pixel value above 255

1.1.1

  • Fix auto refresh viewer feature

1.1.0

  • Add hide panel feature

1.0.2

  • Open VSX Support
  • Security fix

1.0.1

  • Performance Optimization
  • Security fix

1.0.0

  • Add support for P1/P4 .pbm files

0.0.10

  • Add Default zoom level setting
  • Add Auto Scaling Mode feature
  • Add Panel UI position setting

0.0.9

  • Add save as PNG feature

0.0.8

  • Auto refresh viewer when a image file has changes

0.0.7

  • Zoom in and out with Ctrl key + mouse scroll
  • Security fix

0.0.6

  • Bugfix for loading headers of commented imgs

0.0.5

  • Add image scrolling and panning
  • Add zoom panel overlay
  • Add zoom panel color configuration
  • Add support for P2, P3 formats
  • Improve file endings support

0.0.4

  • Use VSCode Editor API for image viewer

0.0.3

  • Add Zoom feature

0.0.2

  • Change behavior when opening unsupported file
  • Add image information display
  • Add LICENSE
  • Refactor

0.0.1

  • Initial beta release