468,161 Members | 2,090 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,161 developers. It's quick & easy.

Any anti-aliasing filter on image rezise?

Is there a way I can anti-aliasing a gif to be able to get a
hi-quality resizeable backgroundpicture.
When a GIF of JPG is being resized by the browser you get wurse
pictures because it needs a anti-aliasing. Maybe there is some filter
for it...

Or can I write my own subroutine to do this in client-browsers?
Jul 23 '05 #1
3 3955
Michel wrote:
Is there a way I can anti-aliasing a gif to be able to get a
hi-quality resizeable backgroundpicture.
Yes, use your favorite graphics program prior to upload.
I recommend The GIMP 2. <http://gimp.org/>
When a GIF of JPG is being resized by the browser you get wurse
pictures because it needs a anti-aliasing. Maybe there is some
filter for it...
Maybe there is, but it would be IE only.
<http://msdn.microsoft.com/workshop/author/filter/filters.asp>
Or can I write my own subroutine to do this in client-browsers?


No, you cannot. The J(ava)Script engine has not the slightest
idea what an image could be (aside from the Image host object,
but that doesn't provide access to raw image data).
PointedEars
Jul 23 '05 #2
Thomas 'PointedEars' Lahn wrote
Is there a way I can anti-aliasing a gif to be able to get a
hi-quality resizeable backgroundpicture.

Yes, use your favorite graphics program prior to upload.
I recommend The GIMP 2. <http://gimp.org/>

I know even better programs to do this, but I need a anti-aliasing on
the client-browser site when the image-size changes on the size of the
browser.
Like a company-logo stretched on the background.
When a GIF of JPG is being resized by the browser you get wurse
pictures because it needs a anti-aliasing. Maybe there is some
filter for it...

Maybe there is, but it would be IE only.
<http://msdn.microsoft.com/workshop/author/filter/filters.asp>

I didn't find a real anti-aliasing here :(
Or can I write my own subroutine to do this in client-browsers?

No, you cannot. The J(ava)Script engine has not the slightest
idea what an image could be (aside from the Image host object,
but that doesn't provide access to raw image data).

I would think something like placing the same image slitely moved over
each other and add some opaque to them.

Isn't there any way to build a website that autosizes everything
depending on the browser site. A sort of autosize the complete site
images, tekst, tables, ...
Jul 23 '05 #3
Michel wrote:
Thomas 'PointedEars' Lahn wrote
> Is there a way I can anti-aliasing a gif to be able to get a
> hi-quality resizeable backgroundpicture.

Yes, use your favorite graphics program prior to upload.
I recommend The GIMP 2. <http://gimp.org/>

I know even better programs to do this, but I need a anti-aliasing on
the client-browser site when the image-size changes on the size of the
browser. [...]


Why is it not enough to upload scaled and anti-aliased images?
> When a GIF of JPG is being resized by the browser you get wurse
> pictures because it needs a anti-aliasing. Maybe there is some
> filter for it...

Maybe there is, but it would be IE only.
<http://msdn.microsoft.com/workshop/author/filter/filters.asp>


I didn't find a real anti-aliasing here :(


Tough luck.
> Or can I write my own subroutine to do this in client-browsers?

No, you cannot. The J(ava)Script engine has not the slightest
idea what an image could be (aside from the Image host object,
but that doesn't provide access to raw image data).

I would think something like placing the same image slitely moved
over each other and add some opaque to them.

Isn't there any way to build a website that autosizes everything
depending on the browser site. A sort of autosize the complete site
images, tekst, tables, ...


Nothing reliable. Besides, it is one of the most important advantages
of HTML documents *not* to scale the content so that it fits into the
surrounding box, but to extend the box and let the content flow. Why
do you want to give that away? Have you ever read a PDF document in a
small window? You have not, since tiny-scaled characters (and anti-
aliasing) make that impossible if you don't like scrolling.
PointedEars

P.S.:
Please write a blank line between quotes and you new text to increase
legibility of your postings.
Jul 23 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by jcnews | last post: by
10 posts views Thread by Andy C | last post: by
1 post views Thread by ~~~ .NET Ed ~~~ | last post: by
reply views Thread by Treas4ever | last post: by
16 posts views Thread by lisa.engblom | last post: by
2 posts views Thread by =?Utf-8?B?dXBkZTMy?= | last post: by
1 post views Thread by gcdp | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.