R
R
remod2014-01-14 08:14:57
Canvas
remod, 2014-01-14 08:14:57

Why can't I change the image using the Division Raster example in paper.js?

I downloaded the latest version of paper.js, I run the Division Raster example from there and I want to change the picture, but it doesn’t work.
In DivisionRaster.html

<img width="512" height="512" id="mona" style="display: none;" src="data:image/jpeg;base64,/9j/4QAY....2Q==">

change to
<img width="512" height="512" id="mona" style="display: none;" src="./mona.jpg">

Does not help...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
remod, 2014-01-14
@remod

roughly figured it out. you just had to encode the link in base64 .
maybe someone needs a link

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question