question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error with pictoprime -i: Stream yields empty buffer

See original GitHub issue

Getting this error in powershell from running pictoprime -i shapes.png image

Image i tried to use: shapes Is this an issue on my side? haven’t been able to make this work on any image. Am happy to provide any additional info. Cheers

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
TotalTechGeekcommented, Apr 30, 2022

Thank you @HansAnonymous, I’ll try to look into a more long term solution, but with your solution I’m going to close the issue & pin it in case anyone else comes across this.

2reactions
HansAnonymouscommented, Apr 30, 2022

Hello! I’ve also encountered this error and to not just say, “me too!” and leave, I come with a temporary solution!

It appears that GraphicsMagick just fails to run on current installations as seen here

The solution also listed in the link above is to install Visual Studio 2008 package found here. Make sure it’s VS2008!

Less than ideal, but GM works, allowing PictoPrime to run.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Stream yields empty buffer - node.js
I used GraphicsMagick for node but got the error "Stream yields empty buffer" import gm from 'gm'; gm(buffer).resize(200, 200).
Read more >
Stream yields empty buffer
spurtcoder I m facing same problem and i done the same but still it shows same error. steps i did: 1> installed the...
Read more >
Getting "toBuffer() Stream yields empty buffer" error for ...
Here is my sample code var gm = require('gm').subClass({ imageMagick: true }); // Enable ImageMagick integration.
Read more >
GraphicsMagick: toBuffer() Stream yields empty buffer
I am trying to read a file into a buffer, resize it and then write it to disk using ... However, this generates...
Read more >
Generate prime numbers from pictures!
Error with pictoprime -i: Stream yields empty buffer. Getting this error in powershell from running pictoprime -i shapes.png.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found