开发者

processingjs gives 404 when loading remote images

开发者 https://www.devze.com 2023-02-06 19:15 出处:网络
while try to loadImage(url, \"jpg\") where url is remote server url. its giving 404 though image exist on server.

while try to loadImage(url, "jpg") where url is remote server url. its giving 404 though image exist on server. Is there any restristion in processing.js for loading images f开发者_运维知识库rom remote server ?


Have you preloaded the image ?

/* @pjs preload="image.jpg"; */

http://js.processing.org/reference/preload

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号