Add a color picker plugin

Open
#16 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Domain
desktop

Research direction

The issue names no files, tests, or plugin entry point. Start by locating how xviewer plugins are created, then compare the requested behavior with the Firefox example; done means a color picker can select colors from images and SVGs and place the hexadecimal value in the clipboard.

Written by the indexing model from the issue text.

Description

Good morning!
I don't know how to create new plugins for xviewer unfortunately, I would have taken care of it myself but I don't know how to do it, so I'm offering it here.

Sometimes I need to extract an exadecimal color from an image. To do this, as I can't use xviewer, I use Firefox or Inkscape, but it takes longer and Firefox, for example, doesn't support this feature on SVGs.

Is it possible to create such a feature (a "color picker") directly in xviewer, like the one in firefox but which also works for svg for example? Here is a preview of the feature (in French, sorry) :

https://github.com/user-attachments/assets/d5b31136-282b-4025-8473-828fe273e64e

To open this function in Firefox to try it out, use F12. Once you are over the spot in the image with the correct color, left-click: the exadecimal color will be in your clipboard!

Thanks for your great work here and on xviewer!
Sincerely,
Pandaroux007

Dominant language
C
Stars
12
Forks
18
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from linuxmint/xviewer-plugins

All issues in linuxmint/xviewer-plugins

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.