Giter VIP home page Giter VIP logo

neam's Introduction

rebooting after a hard, tired month...
I like to write software of questionable utility and varying weirdness.

My current objective is to finish1 some or the projects I already have started.

Thank you to the people, the sponsors, that give me some money every month to keep me motivated (and my VPS online and domains registered)

Footnotes

  1. "finish" to mean get somewhere I am happy with calling version 1; get them to a point i'd be happy to call "done" if i could let things rest โ†ฉ

neam's People

Contributors

gennyble avatar

Stargazers

 avatar  avatar

Watchers

 avatar

neam's Issues

divide bin and lib

'cause we can't yet divide dependencies, unfortunately, and I don't want to pull in png and gifed for the library

No allocations

It occurs to us that this would be pretty easy to do without allocating any memory.

Upscale:

  • The user has to resize the Vec so that the new image can fit. We can provide this method.

Downscale:

  • The user has to leave the vector as it is.

We can have the function return a slice to the image data. On upscale it's the entire vec and on downscale it's just the smaller image in the front of the vec. Perhaps if STD is available we can shrink also provide a function that takes ownership of the vec (or just &mut Vec<u8>) and throw away the uneeded data.

More scaling options

Yeah the name stems from "nearest neighbor", but I want bilinear! and bicubic! 'nd fancier things!

Support PNG Color Types Other Than RGBA

We explicitly panic if the color type is not RGBA and that's not very good, now is it. We can support everything quite easily, I think, we just need to pass nearest the colortype so it knows how to copy the data.

Allow JPEG Scale

Using mozjpeg probably as there is no JPEG encoder not in image and for some reason I refuse to use it. Maybe I can do WebP.

Paletted PNG do not write palette

Does it give us the palette or do we need to rebuild it? Either way, we have to set a palette when encoding. Like encoder.set_palette(&[u8])

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.