Closed
Bug 312309
Opened 20 years ago
Closed 14 years ago
Prettier canvas image resampling/resizing when using drawImage
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: kamiel, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b5) Gecko/20051011 Firefox/1.4.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b5) Gecko/20051011 Firefox/1.4.1
This isn't really a bug but I find it extremely annoying. Currently when using
the drawWindow or drawImage methods to render scaled bitmaps a resampling method
is used that looks almost but not quite like nearest neighbor. (tested on
windows and linux)
This is very obvious when drawing thumbnails of windows using drawWindow. Text
becomes a complete mess and it's very hard to make out even large headers.
Reproducible: Always
| Reporter | ||
Updated•20 years ago
|
Version: Trunk → 1.8 Branch
Comment 1•20 years ago
|
||
confirming and tweaking summary to make it easier to find.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Prettier canvas image resampling → Prettier canvas image resampling/resizing when using drawImage
Comment 2•18 years ago
|
||
This bug seems a duplicate of 372462. Additionally, the original bug 98971 does not actually seem fixed, at least for downsized images in 2.0.0.4.
Comment 3•18 years ago
|
||
It's possible they could get fixed by the same thing but these are two quite different circumstances that certainly warrant individual attention.
I'm moving this to trunk since I don't believe any fix here would make the branch now.
Version: 1.8 Branch → Trunk
Comment 4•18 years ago
|
||
At least in my nightly (20070614), trunk has very pretty resampling - I'd call this fixed in trunk. Sounds like consensus is to punt on any attempt to fix this in 2.* and just focus on 3.0, which is fair.
Comment 5•18 years ago
|
||
We can probably just close this as fixed, then, correct?
Comment 6•14 years ago
|
||
An issue possibly left here is that linear interpolation downsampling like we're using on most platforms breaks down when you're downsizing by more than a factor of 2. This is a separate issue though and not specific to canvas, there's already bugs on this.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•