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.

Reading 8bim without loading full file into memory

See original GitHub issue

I have some old c++ code that uses

MagickImage magickImage = new MagickImage(); magickImage.ping(path); EightBimProfile eightBimProfile = magickImage.Get8BimProfile(); and it does work. I am now trying to do the same in a c# code and it does not get the 8Bim profile, I actually have to open the file for it to work. Is this something that got changed in some version or is there a difference between the way ping works in .net and on that old c++ code?

What I would like to do is increase the speed for reading the 8Bim profile, I do not need to load the image, I just need the 8bim data.

Thanks.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
valadascommented, Jul 1, 2017

Wow, that was quick, it works perfectly, I was coming back to say I had the same issue for the icc profile but I saw it was already fixed! I updated the Nuget package and reverted to my old code, everything works perfectly and I think ping is faster than what I dit.

It’s complicated to buy alcool for someone else on Amazon so… Enjoy the socks 😃

0reactions
valadascommented, Jul 1, 2017

You are welcome. Yes, they ask for ID in the country it is shipped or an international passport.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is it possible to read a file without loading it into memory?
I want to read a file but it is too big to load it completely into memory. Be aware that -in practice- files...
Read more >
Reading a binary file without copying the whole file to ...
So I am building a bytecode interpreter VM and I want it to be as memory efficient as possible. Normally I would copy...
Read more >
How do most compilers interact with memory when reading ...
I understand there are two main ways for compilers to read text data from files: load the whole file into RAM and parse...
Read more >
How to Read a Large File Efficiently with Java
Learn how to process lines in a large file efficiently with Java - no need to store everything in memory.
Read more >
read()--Read from Descriptor
From the file or socket indicated by file_descriptor, the read() function reads nbyte bytes of input into the memory area indicated by buf....
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