Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Can I use Image instade of color picker ? #248

Unanswered
HmHasan22 asked this question in Q&A
Discussion options

var colorPicker = new iro.ColorPicker(".colorPicker", { // color picker options // Option guide: https://iro.js.org/guide.html#color-picker-options width: 280, color: "rgb(255, 0, 0)", borderWidth: 1, borderColor: "#fff", });

You must be logged in to vote

Replies: 2 comments

Comment options

This doesn't pick from an image; it uses math to figure out the color based on the positions of the handles.

If you want to pick from an image, you're better off making your own color picker with the html5 canvas.

You must be logged in to vote
0 replies
Comment options

Thank you so much 🥰
...
On Sun, Feb 19, 2023, 10:07 PM James ***@***.***> wrote: This doesn't pick from an image; it uses math to figure out the color based on the positions of the handles. If you want to pick from an image, you're better off making your own color picker with the html5 canvas. — Reply to this email directly, view it on GitHub <#248 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AX34B322S7RZH3OBVZBGIS3WYJAL5ANCNFSM6AAAAAAVAYJ5LE> . You are receiving this because you authored the thread.Message ID: ***@***.***>
-- 251/A and 252, Tejgaon Industrial Area, Dhaka - 1208, Bangladesh. Mob: 019117-81327, 01766-348518 Web: www.seu.edu.bd <https://www.seu.edu.bd>, Email: ***@***.*** ***@***.***>
You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants

AltStyle によって変換されたページ (->オリジナル) /