1

Here is a nice picture of a 4-d hypercube "sliced" into 3d and then projected onto the 2d plane.

enter image description here

Unfortunately its background is white and I'd like to use it on a 10% grey background:

enter image description here

How can change all the white to 10% grey, while (hopefully) retaining any anti-aliasing?

2

2 Answers 2

2

The quick way would be to use gimp to make the background of the image transparent, then it won't matter what colour your background has.

  1. Add an alpha channel to the image:

enter image description here

  1. select the colour to alpha option:

enter image description here

  1. choose the background colour, white in your case

enter image description here

  1. Image with transparent background:

enter image description here

2

You can't edit bitmaps in Inkscape. Inkscape is a vector image editor.

You could redraw the graphic in Inkscape however. It's not too complicated and shouldn't take too long.

All it consists of is two copies of the hypercube, one with a red stroke, one with a blue stroke on a layer above, with the blending mode set to "Darken". The blue layer is then distorted by selecting and editing the nodes.

In this example I created the hypercube by manually tracing over the bitmap image.

enter image description here

1
  • Wow how cool. Would you consider linking the original Inkscape svg? Aug 31, 2019 at 6:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.