473,385 Members | 1,622 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,385 software developers and data experts.

Website images

hi,

this may sound like the wrong discussion group to use but i assume that some
of you use HTML/ASP.NET in your websites and will know an answer.

with an internet connection, anyone can view a website, right? even on a Mc
or a Linux machine. so what is the best image fornmat? BMP is not the best
because it is a windows file format, WMF and EMF also.

does PNG work or is it also a windows file format?

which is better, GIF or JPEG?
--
Alvo von Cossel I of Germany
Nov 17 '05 #1
2 954
GIF and JPEG are definitely the most widely recognized by all browsers. PNG
is usually OK. I think that BMP is not only too large having no compression
but, as you say, a proprietary format so I steer clear of them.

IMO, even though JPEG is good. nothing beats a GIF with a well optimised
palette.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.

"Alvo von Cossel I" <Al************@discussions.microsoft.com> wrote in
message news:2F**********************************@microsof t.com...
hi,

this may sound like the wrong discussion group to use but i assume that
some
of you use HTML/ASP.NET in your websites and will know an answer.

with an internet connection, anyone can view a website, right? even on a
Mc
or a Linux machine. so what is the best image fornmat? BMP is not the best
because it is a windows file format, WMF and EMF also.

does PNG work or is it also a windows file format?

which is better, GIF or JPEG?
--
Alvo von Cossel I of Germany

Nov 17 '05 #2
Alvo von Cossel I wrote:
hi,

this may sound like the wrong discussion group to use but i assume
that some of you use HTML/ASP.NET in your websites and will know an
answer.

with an internet connection, anyone can view a website, right? even
on a Mc or a Linux machine. so what is the best image fornmat? BMP is
not the best because it is a windows file format, WMF and EMF also.

does PNG work or is it also a windows file format?

which is better, GIF or JPEG?


BMP:
* full color
* no compression (so large files)
* windows only

GIF:
* 256 colors per image (out of full-color palette)
* good, loss-less compression (once image is reduced to 256 colors max)
* single color can be marked as "fully transparent"

JPEG:
* full color
* good but lossy compression (adjustable), good for photos
* no transparency

PNG:
* full color
* good compression
* alpha channel ("partially transparent" possible), BUT: IE doesn't support this
(I think IE only recognises 0% and 100% transparent)

Which is "better" depends on your needs.

Hans Kesting
Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Andy | last post by:
I would like to build a website using a template. I got one from internet but after I open it my new Internet Explorer gives me a warning : 'To help protect your security, Internet Explorer has...
1
by: Bob | last post by:
I'm trying to centralize some of the resources (images, css, footer etc) into one website that all my apps can use. Simple things like images and css would be a direct link (e.g. img...
1
by: Goober | last post by:
I had the following code in the HTML piece of my default.aspx page: <TD><IMG alt="ProductGroup1" id="img1" runat="server" height="100" width="200"></TD> <TD><IMG alt="ProductGroup2" id="img2"...
1
by: TCB | last post by:
I am developing a website using .NET 2.0 (classified style website) it displays a series of records per page (8, using a datagrid with paging) each record displays a thumbnail of an image that...
12
by: Jon B | last post by:
Hi There! For some reasons, some images of my ASP.NET website are cannot be displayed in the browser (even tho they exists on the server). They are just normal JPG and PNG images and the website...
2
by: letsgetsilly | last post by:
I'm developing the external corporate website for my company in Visual Studio 2003 using html, css, and a user web control for the header/navigation. When I try to print any of the pages only the...
0
by: =?Utf-8?B?RGFuaWVsIERpVml0YQ==?= | last post by:
First, I am using VS2005 with windows XP. I am having an issue where I cannot see the images in my usercontrols or the ASPX pages they are dropped onto (the ASPX pages are on the root of the site...
1
by: =?Utf-8?B?RGFuaWVsIERpVml0YQ==?= | last post by:
First, I am using VS2005 with windows XP. I am having an issue where I cannot see the images in my usercontrols or the ASPX pages they are dropped onto (the ASPX pages are on the root of the site...
6
by: vunet | last post by:
This may be a strange question from a non-technical person who asked me to make his whole site and images load all at once. I.e. the completely loaded site would show up immediately even with a big...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.