473,396 Members | 1,927 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 4247
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: jcnews | last post by:
I am using Windows XP and am learning how to program in Java. Is there any way to get my fonts to be anti-aliased in both editors and in my programs? The non anti-aliased fonts don't look very...
10
by: Andy C | last post by:
Where can I get a python package to draw such figures? I googled and found PyX, I guess it outputs PostScript. I guess I can get a PostScript to BMP converter or something. Is there any other...
17
by: rgoya | last post by:
Peace be with you! About a year ago, I created a JavaScript which turns any web site into an online anti-war protest: http://www.geocities.com/rgoya/javascript/PROTEST.HTM I have recently...
6
by: Alan Kennedy | last post by:
Hi All, If there any contributors of SpamBayes reading, Congratulations! SpamBayes has won the Personal Computer World (pcw.co.uk) Editors Choice award for anti-spam software, in a review of...
1
by: ~~~ .NET Ed ~~~ | last post by:
Hi, Are there any known bad interactions between an ASP.NET (1.1)/IIS installation and the MS Windows Anti-spyware Beta? I have a working XP Pro with ASP.NET and don't want to let it go to hell....
0
by: Mark Rae | last post by:
Hi, Just a general question, really... Is anyone here using any of Microsoft's latest anti-virus / anti-spyware software?...
0
by: Treas4ever | last post by:
Hi, dudes. Do you use any anti wrinkle solutions? I've bought revitol anti aging, but don't know if it is safe or not. Maybe someone has used it? ----------------------------------...
16
by: lisa.engblom | last post by:
I have two semi related questions... First, I am trying to output a list of strings to a csv file using the csv module. The output file separates each letter of the string with a comma and then...
2
by: =?Utf-8?B?dXBkZTMy?= | last post by:
Hi everyone. I had Norton Security on my last computer and reinstalled it on my new one (with Vista). To my disappointment Norton has told me that I have to purchase another key as the one I have...
4
by: Mike | last post by:
Hi, I took an interest a few months ago in an anti framebreaker javascript. All my research told me that it was impossible. If a website is loaded into a frame/iframe then if it has frame...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.