Comments (11)
@mandeep, I would appreciate if you'd find the time to test if the test suite now works as expected (expect some tests to fail, I just discovered a few new bugs).
from exrs.
Perfect! Thank you for your support.
from exrs.
Hi, thanks for your issue. I have been testing with the images repository that you linked to locally. Those images are all producing the expected output on my machine.
They are not yet included in this repository, because I was not quite sure if it was good practice to include such a large folder, some files would maybe even require the users to install the large file support for git. Alternatively, a build script could download the images repository into a local folder before building. Which solution would you prefer?
from exrs.
(Actually, I've been using a really old clone of the images repository, not yet including the damaged images folder.)
from exrs.
I just tried simply putting all images into a folder and adding it to this repository. It worked, without the need for any large file support. That's why I came to the conclusion that this would be the easiest solution. Pushing took quite a while tough, haha, and cloning will probably take some more time now, too. It's a start 🎉
from exrs.
It looks like the image files are now found. However, I have a failure with test_write_file
.
One thing to note is that instead of copying the images directory over into your repo, you can use git submodules to obtain a similar effect. The benefit of submodules is that you don't have to copy over the images every time there is an update. You can just call git submodule update
to update the linked images repo.
from exrs.
Thanks for the submodule hint. I'll investigate on that.
Can you give me some more information about the failed test? Is there a panic message or an Error? That test does not fail in my environment.
from exrs.
Here's the output from cargo test: https://gist.github.com/mandeep/e3706560fb21afbb48d1e7134468ffc6
from exrs.
Ok. So in dev.rs
on line 48 there's a file path string. The test must read that file and write it into another directory. Can you check if that file exists in your project? It seems like this file cannot be found and maybe that file was not commited or maybe there's a typo in the path.
Lines 48 to 51 in e7e5510
from exrs.
Actually, this specific test was not an official test but rather development stuff. As long as the real tests pass, this shouldn't be a problem. If you find the time, run cargo test --no-fail-fast
to run all tests. Please keep in mind that running the tests only works with the GitHub repository and not with the crate from crates.io, because the latter does not include any images.
I've made a few changes to the rgba API, would you like to give me some feedback on the design?
from exrs.
Thanks, I'm indeed working off the git repository. After a pull from upstream cargo test --no-fail-fast
shows that all tests pass. :)
I'll take a look at the API and I'll make a new post with any issues I find. Thanks for taking the time to do all of this!
from exrs.
Related Issues (20)
- Soft allocation limits increase peak memory usage, are all-around harmful HOT 5
- Read the input file in parallel HOT 14
- byte algorithm in compression module: test coverage not satisfying
- Benchmarking research: deinterlacing rgb(a) buffers is the slow part HOT 15
- 1.5.3 release announcement HOT 23
- Add DWA Compression HOT 1
- Thanks! HOT 1
- Port from threadpool to rayon HOT 3
- WASM support HOT 15
- This file cannot be opened HOT 21
- README has outdated information
- More Fancy Badges
- how to use the library with maximum performance HOT 4
- Failed unzipping EXR HOT 10
- Release new version with miniz_oxide v0.7.1? HOT 3
- Convert exr to png file HOT 3
- Fix Big Endian CI Pipeline
- Badge is outdated: MSRV Badge HOT 1
- Smart Fuzzing
- Strange `half <2.3.0` upper-bound breaks compatibility with other crates HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exrs.