d3-celestial icon indicating copy to clipboard operation
d3-celestial copied to clipboard

Image background instead of color.

Open dewpboer opened this issue 4 years ago • 2 comments

Dear community,

Is is possible to set an image as a background instead of a color? As far as we know we can only configure the background color.

I've added an example to clarify myself. Schermafbeelding 2020-06-17 om 11 32 58

Looking forward to a reply.

With kind regards, Andy

dewpboer avatar Jun 17 '20 12:06 dewpboer

You could set the background transparent (background.opacity = 0 in the configuration) and put an image in the background of the page, if you do it in html. Setting an image instead of a color in d3-celestial would be possible, but the standard color selection input element doesn't allow this. So I'll need to make one myself, which would take some time, or find an extension that offers more complete background selection /w color, gradient, brush, image or so. Do you know any?

ofrohn avatar Jun 19 '20 20:06 ofrohn

If it’s just a one off you could export to svg and change the background in adobe/ Inkscape.

On Fri, Jun 19, 2020 at 4:08 PM Olaf Frohn [email protected] wrote:

You could set the background transparent (background.opacity = 0 in the configuration) and put an image in the background of the page, if you do it in html. Setting an image instead of a color in d3-celestial would be possible, but the standard color selection input element doesn't allow this. So I'll need to make one myself, which would take some time, or find an extension that offers more complete background selection /w color, gradient, brush, image or so. Do you know any?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ofrohn/d3-celestial/issues/79#issuecomment-646842540, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGHUMHUXLV6KMZLLMZGT3TRXPATTANCNFSM4OARFAJQ .

-- Thank you,

Sam Price (707) 742-3726

thesamprice avatar Jun 19 '20 20:06 thesamprice