Comments (15)
I've added pub type VecBuffer<P: Pixel> = ImageBuffer<P, Vec<P::Subpixel>>; to my fork of this crate, which lets me tidy a lot of noise from function signatures. However, it also produces a (spurious in this case) compiler warning. I'm not sure whether the extra neatness is worth adding a compiler warning. Ideally I'd like to just disable the warning in this one place, but I can't see how I'd do that.
from imageproc.
Function signatures are now looking a bit nicer: #19
from imageproc.
looking forward to this being a published crate
from imageproc.
I was holding off on publishing because I expect everything to be very unstable for a while and didn't want to annoy everyone with constant breaking changes.
However, if there's demand for this to be in cargo (with the understanding that breaking changes are highly likely) then I can publish this weekend.
from imageproc.
I just started exploring the landscape of image processing options in (stable) rust on crates.io. I found and started working with your image crate but the image ops provided were pretty minimal. I was looking for gradient color map support. I saw there was a color map option in that crate but it wasn't clear how to map or create gradients. That's how I happened to stumble on this repo.
I wouldn't mind the breaking changes in pre 1.0 releases. I'd expect them! As that would be the time users can try things out and learn what feels right and what feels wrong :)
from imageproc.
Ok, cool. One stumbling block is that this library currently only builds on nightly rust. I've created #83 to fix this, and I'll have a look at this soon.
from imageproc.
BTW @softprops, what do you mean by gradient colour maps? Googling produced a few mentions of photoshop, but no definitions I could see.
from imageproc.
https://crates.io/crates/imageproc/
from imageproc.
I've added @bvssvni as a crate owner.
from imageproc.
nice!
from imageproc.
@theotherphil here's a link that may help describe what im trying to figure out how to do http://www.imagemagick.org/Usage/color_mods/#duotone
The idea is to take an image, grayscale it, create a 2 color gradient and somehow map those colors to the grayscale creating a duotone effect.
from imageproc.
Thanks, makes sense. I assume you're after something matching what ImageMagick can do, and I've created #96. If this isn't quite what you were after then please comment there.
from imageproc.
Thanks. Will do!
from imageproc.
I added the PistonCollaborator team as owners on crates.io. Updated Piston overview on the wiki. Imageproc is now listed under "Standalone libraries".
from imageproc.
Great, thanks!
from imageproc.
Related Issues (20)
- How does this crate compare to magick-rust? HOT 2
- Try using doc_auto_cfg to automate addition of docrs attributes
- Rename `imageproc::map::map_colors()` to `map_pixels()` HOT 2
- Another doc-macro for parallel variations of functions?
- `Rect` refactors HOT 2
- Add filter benchmarks for kernels larger than 3x3
- Add hardcoded filter3x3 function to benchmark current generic filter function against HOT 19
- Switch `imageproc::Rect` to `image::Rect` HOT 3
- `Laplacian` from `master` is wrong HOT 4
- Check for any functions missing tests
- Use `Kernel` by `ref` HOT 2
- Document release process
- Agree a sensible API for filtering so we can reduce the risk of frequent breaking changes to signatures HOT 3
- Fix filter performance vs simple hardcoded implementation
- Add Tags for all previous releases where possible HOT 2
- Decide module layout for new imageops functions HOT 1
- how encode drawed image to [u8] ? HOT 6
- Rounded corners on rectangles and images HOT 4
- Projection matrix for rotation is weird
- Add `#[must_use]` to all non-mut image processing functions
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 imageproc.