imgref icon indicating copy to clipboard operation
imgref copied to clipboard

Generic size types

Open tversteeg opened this issue 1 year ago • 3 comments

Would you be willing to accept a PR where I make each numeric type generic? Some crates use u32 for sizes, some usize and some even u16.

Of course the default would still be usize.

tversteeg avatar Jun 09 '24 14:06 tversteeg

Yes. Please see https://github.com/kornelski/imgref/tree/v2-preview

kornelski avatar Jun 09 '24 23:06 kornelski

Oh great! Do you need any help with this new version?

tversteeg avatar Jun 10 '24 07:06 tversteeg

Yes, help is welcome.

That code is unfinished and buggy. I wish more of it could be implemented using safe code, even as an option, but I haven't figured out how to structure the traits for it.

kornelski avatar Jun 10 '24 08:06 kornelski