Coder Social home page Coder Social logo

Initial crate release about imageproc HOT 15 CLOSED

image-rs avatar image-rs commented on July 26, 2024
Initial crate release

from imageproc.

Comments (15)

theotherphil avatar theotherphil commented on July 26, 2024

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.

theotherphil avatar theotherphil commented on July 26, 2024

Function signatures are now looking a bit nicer: #19

from imageproc.

softprops avatar softprops commented on July 26, 2024

looking forward to this being a published crate

from imageproc.

theotherphil avatar theotherphil commented on July 26, 2024

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.

softprops avatar softprops commented on July 26, 2024

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.

theotherphil avatar theotherphil commented on July 26, 2024

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.

theotherphil avatar theotherphil commented on July 26, 2024

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.

theotherphil avatar theotherphil commented on July 26, 2024

https://crates.io/crates/imageproc/

from imageproc.

theotherphil avatar theotherphil commented on July 26, 2024

I've added @bvssvni as a crate owner.

from imageproc.

tafia avatar tafia commented on July 26, 2024

nice!

from imageproc.

softprops avatar softprops commented on July 26, 2024

@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.

theotherphil avatar theotherphil commented on July 26, 2024

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.

softprops avatar softprops commented on July 26, 2024

Thanks. Will do!

from imageproc.

bvssvni avatar bvssvni commented on July 26, 2024

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.

theotherphil avatar theotherphil commented on July 26, 2024

Great, thanks!

from imageproc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.