This package provides:
This package consumes:
Made for Pulsar!
This package was written specifically for Pulsar and did not exist in the Atom package repository.
View and edit images directly in Pulsar. A feature-rich image viewer with support for cropping, rotation, color adjustments, filters, and more.

To install image-editor search for image-editor in the Install pane of the Pulsar settings or run ppm install image-editor. Alternatively, you can run ppm install asiloisad/pulsar-image-editor to install a package directly from the GitHub repository.
switchZoomAndNavigation is disabled).switchZoomAndNavigation is disabled).Commands available in .image-editor:
image-editor:zoom-in: + increase zoom level,image-editor:zoom-out: - decrease zoom level,image-editor:reset-zoom: 7 reset to 100%,image-editor:zoom-to-fit: 9 scale to fit viewport,image-editor:center: 8 center image in viewport,image-editor:first-image: Home go to first image in folder,image-editor:previous-image: PageUp go to previous image,image-editor:next-image: PageDown go to next image,image-editor:last-image: End go to last image in folder,image-editor:reload: refresh image from disk,image-editor:open-in-new-tab: open the current image in a new tab (also available in tree-view and text-editor context menus for SVG files),image-editor:background-white: set white background,image-editor:background-black: set black background,image-editor:background-transparent: set transparent background,image-editor:background-native: set native background,image-editor:rotate-90-cw: ] rotate 90° clockwise,image-editor:rotate-90-ccw: [ rotate 90° counter-clockwise,image-editor:rotate-180: rotate 180°,image-editor:rotate-free: rotate by custom angle,image-editor:flip-horizontal: H flip horizontally,image-editor:flip-vertical: V flip vertically,image-editor:resize: resize with aspect ratio lock,image-editor:auto-adjust-colors: automatic color optimization,image-editor:brightness-contrast: adjust brightness and contrast,image-editor:saturation: adjust color intensity,image-editor:hue-shift: rotate color spectrum,image-editor:grayscale: G convert to black & white,image-editor:invert-colors: I permanently invert colors,image-editor:sepia: apply sepia effect,image-editor:posterize: reduce color levels,image-editor:blur: custom blur radius,image-editor:blur-light: light blur,image-editor:blur-medium: B medium blur,image-editor:blur-strong: strong blur,image-editor:sharpen: custom sharpen strength,image-editor:sharpen-light: light sharpen,image-editor:sharpen-medium: S medium sharpen,image-editor:sharpen-strong: strong sharpen,image-editor:select-all: A select entire image,image-editor:auto-select: Q auto-detect and select content,image-editor:auto-select-with-border: W auto-select with border padding,image-editor:select-visible-area: E select visible portion,image-editor:copy-selection: C copy selection to clipboard,image-editor:crop-to-selection: X crop to selection,image-editor:hide-selection: Escape clear selection,image-editor:edit-in-paint: open in Windows Paint,image-editor:show-properties: view file and image info,image-editor:undo: Z revert to previous state,image-editor:redo: Y restore next state,image-editor:attach-to-claude: attach image to Claude chat.image-editorAllows other packages to open images directly from data URLs without saving to disk. Used by hydrogen-next to display plot outputs.
In your package.json:
{
"consumedServices": {
"image-editor": {
"versions": {
"1.0.0": "consumeImageEditor"
}
}
}
}
In your main module:
module.exports = {
imageEditor: null,
consumeImageEditor(service) {
this.imageEditor = service;
return new Disposable(() => {
this.imageEditor = null;
});
},
openImage(dataUrl) {
if (this.imageEditor) {
this.imageEditor.openFromDataUrl(dataUrl, "My Image Title");
}
}
};
The opened image will be marked as "modified" and prompt the user to save when closing.
Got ideas to make this package better, found a bug, or want to help add new features? Just drop your thoughts on GitHub. Any feedback is welcome!