OZONE Asylum
Forums
DHTML/Javascript
20 Liners - June 08 - Zoom
This page's ID:
30306
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
I want to use 2dctx.drawImage() with a destination rectangle that is exactly twice the dimensions of the source rectangle. But I want to get the pixelated, boxy look. drawImage() seems to be doing resampling (bilinear/bicubic interpolation?) and blurring the enlarged image. Is there a way to instruct the 2d ctx not to do that? Is this something implementation dependent? Do I have to achieve the pixelated-zoom effect by drawing individual rectangles? :( And here's a sneak preview of what I'm working on: [url=http://magnetiq.com/spst/0617_2.htm]Scrolltext with Subpixel Rendering[/url] (should be viewed on an LCD) The plan is to zoom into this :) [url=http://magnetiq.com/][img]http://magnetiq.com/exports/oa_sig.gif[/img][/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »