Pixels to Objects
i

Scott PakinPixels to Objects

Scott Pakin

Select a bitmap and one or more other objects, and run Extensions → Raster → Pixels to Objects…. The extension will place one copy of an object at each pixel coordinate. For example, a 32×32 image will lead to objects being placed at coordinates (0, 0) through (31, 31). Options enable objects to have their stroke and/or fill color adjusted to match the corresponding image pixel; background-colored pixels to be either considered or ignored; image coordinates to be scaled up or down; and multiple objects to be assigned to coordinates either randomly or deterministically. For instance, in the banner image above, a 16×16 bitmap was selected along with four path objects of size at most 18×18. In the dialog box, "Apply color to stroke" and "Ignore background pixels" were checked. "Image coordinate scaling" was set to 18 to prevent the path objects from overlapping. And "Instantiation of multiple objects" was set to "By image coordinates" to cycle evenly through all four path objects.


Comment here...
Art PNG Export
i

Martin OwensArt PNG Export

Martin Owens

Remove anti-aliasing artefacts in Inkscape 1.2 by using this extension to use the correct anti-aliasing settings, color modes and down-sampling algorithm to produce to nicest results for adjacent shapes. In SVG, adjacent shapes are rendered sequentially. When antialiasing is enabled, this process creates very small gaps between shapes which are actually touching each other. All renderers of SVG, including browsers and other art programs have this effect since it's built into the way shapes are rendered. But there is a way to get a good output, and that is to do the anti-aliasing step after rendering, by resizing the image down. Your images will be 4x smaller when using this extension so you should account for that when exporting. But should remove all anti-aliasing artefacts. If you still see gaps, your shapes may not truly be touching. This extension only works with Inkscape 1.2 raster extensions.


Comment here...
inkscape-placeholder extension
i

Xaviinkscape-placeholder extension

Xavi

Embed image placeholders with custom height and width into Inkscape: Beautiful Image backgrounds from unsplash Random User avatars from uifaces


Comment here...
ImageJ Macro Panel and other Figure extensions
i

JeromeImageJ Macro Panel and other Figure extensions

Jerome

A set of Inkscape extensions which uses third party software like ImageJ, R, PyMOL and Processing to generate figure panel images from source code taken from the current rectangle or image object. Installation: Unzip to 'User Extensions' folder. History: 2023-07-28: thanks to Tim-Oliver Buchholz, directly specify panel DPIs for R and Matplotlib 2023-06-16: add matplotlib panels; fix coordinates for panel and lane labels; assessed 1.3beta compatibility. 2022-04-08: upload version compatible with both 1.1 and 1.2beta 2021-07-12: fix file separators on windows for R, PyMOL, Processing; work around call returntype for inkscape 1.2 2021-05-24: fix file separators on windows


Comment here...
ImageAligner extension
i

matyilonaImageAligner extension

matyilona

An extension fro aligning multiple images, by palcing markers over the same features. The extension has two features, drawing the markers, and aligning the images. First the markers are drawn, 3 for the "target" (top blue ones) -- theese indicate where the choosen features will end up -- and 3 for each image to be aligned -- theese indicate the same feature on all images. After the markers are positioned the ID for each image has to be set (Object -> Object properties) to name given in the ID field, and a number indicating wich set of markers are used for that image (if the id field is set to "qwert" then the image with the green markers has to have the id "qwert1", the one with the red ones "qwert2" and so on). If everything is set up, choose align objects from the dropdown maneu and click ok.


Comment here...
Inkscape ComfyUI Extension
i

A-nom-ali 😋🥊Inkscape ComfyUI Extension

A-nom-ali 😋🥊

# Inkscape ComfyUI Extension An Inkscape extension that integrates ComfyUI - turning Inkscape into Recraft, but with all Inkscape's features! The **Inkscape ComfyUI Extension** integrates Inkscape with the ComfyUI API, enabling users to generate images based on selected SVG objects and specified prompts. This extension facilitates the creation of AI-generated images directly within Inkscape, streamlining the design workflow. ## Key Features: * AI Image Generation: Transform selected SVG elements into AI-generated images using custom positive and negative prompts. * Seamless Integration: Directly interact with the ComfyUI API from within Inkscape. * Customizable Parameters: Adjust settings such as CFG Scale, Denoise, Seed, and Steps to fine-tune image generation. * Workflow Management: Load and utilize predefined workflows in JSON format. ## Dependencies: * Inkscape: Version 1.3.2 or higher. * ComfyUI API: Accessible at the specified API URL (default: 127.0.0.1:8188). ## Compatibility: * Operating Systems: Compatible with Windows, macOS, and Linux. * Inkscape Versions: Designed for Inkscape 1.0 and above. ## Installation: 1. Set Up ComfyUI: Ensure ComfyUI is running and accessible at the specified API URL. 2. Install Inkscape 3. Install Extension: Place the extension files in Inkscape’s user extensions directory. You can find this folder in: - Edit>Preferences or Inkscape>Settings on Mac - Select System - Press the **"Open"** button next to "User extensions" 4. Restart Inkscape: Restart Inkscape to load the new extension. 5. Use the Extension: Select SVG objects, navigate to the extension, input prompts and parameters, and generate images. ## Setup: 1. An api version workflow is included - check to make sure you have all the right models by opening it in ComfyUI. * Or use your own after saving it to API format. 2. The features are currently limited to: * A positive prompt * A negative prompt * An image input * A KSampler's: * CFG Scale * Denoise * Seed * Steps 3. You need to find the correct IDs in the JSON file and set those in the IDs tab. * These IDs will differ from what you see in your normal (non-api) workflow in ComfyUI, so remember to check. 4. If your ComfyUI IP or port differs, update to match. * If ComfyUI is on a different PC on your network, remember to start it with the argument: > "--listen 0.0.0.0" 5. Remember to follow the above process when you change the workflow. Would be nice to improve this to a history - help welcome! ## Usage: 1. Draw something or select an existing object. 2. Extensions>Render>ComfyUI 3. If you haven't done the setup, do so now 3. Enter your prompt and select your values 4. Press Apply 5. Wait for ComfyUI to finish producing your results 6. Rave in awe! ### Additionally * Once you have the image, it is a simple matter of tracing the bitmap. You can find this feature at **Path>Trace Bitmap**. Play around with the settings. * It often helps to combine the results with the same prompt to refine the outcome - play around! ## Security Considerations: * API Interactions: The extension communicates with the ComfyUI API via HTTP requests. Ensure the API URL is correctly configured and secure. * File Handling: Temporary files are created during image processing. The extension manages these files securely, but users should be aware of their system’s temporary directory policies. By integrating AI-driven image generation into Inkscape, this extension enhances creative workflows, offering designers a powerful tool to expand their design capabilities.


Comment here...