473,772 Members | 3,752 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 backgroundpictu re.
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 4283
Michel wrote:
Is there a way I can anti-aliasing a gif to be able to get a
hi-quality resizeable backgroundpictu re.
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 backgroundpictu re.

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 backgroundpictu re.

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
8184
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 good and are a little harder on my eyes. Thanks.
10
7739
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 alternative? I have looked at PIL, but it doesn't seem to support drawing anti-aliased figures. Thanks for any suggestions. Andy
17
2283
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 revamped the anti-war quotes quiz: http://www.geocities.com/rgoya/javascript/PROTCODE.HTM#usaquiz Please feel free to
6
1705
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 anti-SPAM solutions in the October 2005 edition. (PCW, for those who don't know it, is sort of the UK's equivalent of Byte Magazine, except that it's still publishing after almost 25 years). SpamBayes was one of two open-source apps in the group...
1
1590
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. End of last year I installed the "long awaited" ASP.NET 2.0 + Web Application Studio Beta (MS) and my whole laptop installation went down the toilet, IIS and ASP.NET 1.1 did not work anymore and other things as well, now the machine is up to a...
0
1627
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? http://www.microsoft.com/athome/security/spyware/software/about/productcomparisons.mspx After the fun and games with WinXP SP2, I'm interested to know if anyone has had any problems with VS.NET 2005 in general, and ASP.NET 2 in particular...
0
1197
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? ---------------------------------- http://community.ihostasp.net ASP.NET Developer Community
16
1814
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 puts each string on a separate line. So the code is: import csv output = csv.writer(open('/Python25/working/output.csv', 'a')) a = for elem in range(len(a)):
2
1818
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 can not be used. This is due to the fact that I have used it 5 times. I tried to explain that I had computer problems (hence the reason for purchasing a new one) and that is why I have used the key 5 times. I also loaded it on my laptop onece....
4
6823
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 breaking javascript it will break out of that frame and there is nothing you can do about it except to screenscrape. So I decided to challenge that, and I wrote a counter javascript that forces a page to stay in a frame. It worked after months of...
0
9620
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10261
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10038
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9912
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7460
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6715
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2850
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.