Justin Novosad

Results 19 comments of Justin Novosad

This would be trivial to add. Browsers already have the mechanics to do this due to CSS and svg. Question is how do we present this in the API. We...

It looks like the only production code in the GitHub search to use imageOrientation:"none" is three.js and it's many clones. The rest of the hits are clones of web platform...

Okay, in terms of PRs against the spec should we start by renaming "none" to "from-image", and in a later PR, re-add "none" with the new semantics?

@mrdoob: Today, you could just remove imageOrientation: "none" everywhere. It won't change the code's behavior because that's the default anyways. Only keep "imageOrientation" in places where you set it to...

I am currently writing a spec change for this, and I realized there are issues with how flipY is defined as well. I created a new issue for this: #8118

> I traced "disregard EXIF" back through #741 to https://wiki.whatwg.org/wiki/ImageBitmap_Options which suggests it originates with @junov. Might well have been the output of a team discussion of course. (I agree...

FWIW, the object-fit CSS property does work with canvases, but in current implementations, it seems to not intervene in the resizing that maps the bitmap to the size defined by...