When pasting screenshots into obsidian notes, convert the images to jpeg and compress them

Overview

obsidian-paste-png-to-jpeg

This plugin is inspired by obsidian-paste-image-rename, obsidian-paste-image-rename can be used when inserting images rename, I thought I could also compress and modify it when inserting, so I created this plugin

The plugin automatically handles the following when the image (png jpg jpeg) is pasted into the notes 1,Convert the image to jpeg format and compress it 2,store the image in the current notes directory in the images folder 3,Change the name of the image to the name of the current note plus a number

For example, a screenshot of hello.md will be named hello-1.jpeg... Also you can set whether to enable image compression or not and set the quality of the image, the smaller the quality, the higher the compression rate.

You might also like...

Rename image after pasting, support name pattern and auto renaming.

Rename image after pasting, support name pattern and auto renaming.

Obsidian paste image rename This plugin is inspired by Zettlr, Zettlr shows a prompt that allows the user to rename the image, this is a great help if

Jan 2, 2023

A plugin for Obsidian (https://obsidian.md) that adds a button to its search view for copying the Obsidian search URL.

A plugin for Obsidian (https://obsidian.md) that adds a button to its search view for copying the Obsidian search URL.

Copy Search URL This plugin adds a button to Obsidian's search view. Clicking it will copy the Obsidian URL for the current search to the clipboard. T

Dec 26, 2022

Trim unnecessary indentation when pasting code

Trim unnecessary indentation when pasting code

Unindent When pasting code from your editor into Discord, it often ends up having a lot of indentation. This plugin fixes that by trimming unnecessary

May 1, 2022

Emoji - Use emoji names instead of Unicode strings. Copy-pasting emoji sucks.

Grammy Emoji Adds emoji parsing for grammY. Check out the official documentation for this plugin. While this draft is working, we still do not recomme

Sep 5, 2022

Browsertool zum Anzeigen/Verändern/Setzen des Fotostandorts (JPEG / EXIF-Daten)

Browsertool zum Anzeigen/Verändern/Setzen des Fotostandorts (JPEG / EXIF-Daten)

Fotostandort Browsertool zum Anzeigen/Verändern/Setzen des Fotostandorts (JPEG / EXIF-Daten) https://kreis-viersen.github.io/fotostandort/ Fragen, Anm

Apr 12, 2022

🗜️ AstroJS compression utilities. Compress CSS, HTML, JavaScript and more.

astro-compress 🗜️ This Astro integration brings compression utilities to your Astro project. csso html-minifier-terser terser Installation There are

Jan 8, 2023

This is a Webpack based to-do-list project. With this app, users can add thier daily routine tasks to the list, mark them as complet, edit them or delete them.

To Do List This is a Webpack based to-do-list project. With this app, users can add thier daily routine tasks to the list, mark them as complet, edit

Oct 30, 2022

📝 You Can Create Your Own Short Notes With The Help of Sticky-Notes Website.

Hi 👋 , I'm Sneh Agrawal A passionate Web developer from India 🔭 I’m currently working on Chatting Website Chit-Chat 📫 How to reach me on My Gmail A

Feb 23, 2022

Easily publish notes to the web This plugin integrates with obsius.site to publish markdown notes on the web.

Easily publish notes to the web  This plugin integrates with obsius.site to publish markdown notes on the web.

Obsius Publish Easily publish notes to the web This plugin integrates with obsius.site to publish markdown notes on the web. Limitations The type of c

Dec 20, 2022
Comments
  • Support for multiple images per note

    Support for multiple images per note

    On version 1.0.1, if I try to paste in another image that already had a compressed image, it throws a file already exists error.

    Proposed solution: add some kind of unique identifier at the end of the filename. ex: {markdownFileName} ${datetimestamp}.jpeg

    opened by kevinawoo 2
  • fixed ignored rename setting

    fixed ignored rename setting

    The AutoRename Setting is no longer ignored. If the setting is ON the file gets renamed, if OFF the original name is kept. FIxed Typo "Auto Rname" -> "Auto Rename"

    opened by bboerzel 0
  • Bug: Only the last image will be renamed while pasting multiple images at the same time

    Bug: Only the last image will be renamed while pasting multiple images at the same time

    Consider the situation of pasting multiple images at the same time. These images are compressed in the create event.

    However, only the last image in the markdown file will be renamed to the compressed image name due to the replace logic using the same cursor position.

    Log:

    image

    The first current line ! should be [[iShot_2022-07-17_03.31.42.jpg]].


    Obsidian version: 0.15.6 Plugin version: 1.0.2

    opened by kaiiiz 1
Releases(1.0.2)
Owner
null
A Javascript library to export svg charts from the DOM and download them as an SVG file, PDF, or raster image (JPEG, PNG) format. Can be done all in client-side.

svg-exportJS An easy-to-use client-side Javascript library to export SVG graphics from web pages and download them as an SVG file, PDF, or raster imag

null 23 Oct 5, 2022
A handy little app for copying & pasting images.

PikPicPASTE A handy little app for copying & pasting images. Usage Click and drag the hamburger tile to move the toolbar Click the hamburger tile to s

null 5 Nov 1, 2022
🐼 A cli can automatically compress images with tinypng.com

easy-tinypng-cli A cli can automatically compress images with tinypng.com. Why When delevoping a website, we often need to compress images to reduce t

Frozen FIsh 58 Dec 14, 2022
A simple to do list webpage where you can log the daily tasks you have to do, mark them as checked, modify them, reorder them and remove them. Made using HTML, CSS and JavaScript.

To-Do-List This Webpage is for an app called To-Do-List which helps you add, remove or check tasks you have to do. It is a simple web page which conta

Zeeshan Haider 9 Mar 12, 2022
A Zotero add-on that scans your Markdown reading notes, tags the associated Zotero items, and lets you open notes for the Zotero items in Obsidian.

Zotero Obsidian Citations Adds colored tags to Zotero items that have associated Markdown notes stored in an external folder. Open an associated Markd

Dae 210 Jan 4, 2023
A service for sharing encrypted Markdown notes from Obsidian. Notes are end-to-end-encrypted and are only stored temporarily.

?? Noteshare.space Noteshare.space is a service for sharing encrypted Markdown notes from Obsidian. Notes are end-to-end-encrypted and are only stored

Maxime Cannoodt 56 Dec 26, 2022
An Obsidian plugin for automatically creating notes when linking to non-existing notes

Note Auto Creator for Obsidian Automatically create notes when links are created to them. How to use After enabling the plugin in the settings menu, y

Simon Clement 31 Dec 14, 2022
Obsidian Web: Connect your browser with your Obsidian notes

Obsidian Web: Connect your browser with your Obsidian notes This is an unofficial Chrome extension for Obsidian that lets you send content from the we

Adam Coddington 97 Jan 3, 2023
A plugin for Obsidian that can create input fields inside your notes and bind them to metadata fields.

Obsidian Meta Bind Plugin This plugin can create input fields inside your notes and bind them to metadata fields. New docs I am currently working on n

Moritz Jung 57 Jan 4, 2023
This Photoshop script exports all top-level layers and groups to cropped PNG and JPEG files and creates a file usable in Tumult Hype 4 based on your Photoshop document.

Export To Hype (Photoshop Edition) This Photoshop script exports all top-level layers and groups to cropped PNG and JPEG files and creates a file usab

Max Ziebell 6 Nov 9, 2022