jimp-dev/jimp

name too long open base64 image

Open

#751 opened on 2019年6月16日

GitHub で見る
 (3 comments) (0 reactions) (0 assignees)JavaScript (785 forks)batch import
bughelp wanted

Repository metrics

Stars
 (13,218 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

Expected Behavior

jimp can read image url

Current Behavior

jimp can't read image url

Failure Information (for bugs)

name too long open 'data:image/jpeg;base64,...'

Steps to Reproduce

Jimg.read(this.orignSrc).then(image => {
         image.color([{apply: val, params: [100]}]).getBase64(Jimg.AUTO, (err, src) => {
                this.doingImg.src = src;
        });
});

then I got 'name too long, open "data:image/jpeg;base64,..."' this.orignSrc is a base64 image

Screenshots

image

Context

sorry, none

  • Jimp Version: 0.6.4
  • Operating System: macOS 10.13.6
  • Node version: v10.15.0

Failure Logs

コントリビューターガイド