Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / September 2007

Tip: Looking for answers? Try searching our database.

best image format for line drawings?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
PJ6 - 12 Sep 2007 14:49 GMT
I am rendering a few graphs with GDI+ and sending images to a web page. What
image format is lightweight and the best for presenting line drawings
sharply and without compression artifacts? GIF? PNG? JPG is too muddy, and
BMP is too big.

Paul
Nick Chan - 12 Sep 2007 16:24 GMT
I always use png now
no muddy jpg, no 'unreliable' gif
quite small too

> I am rendering a few graphs with GDI+ and sending images to a web page. What
> image format is lightweight and the best for presenting line drawings
> sharply and without compression artifacts? GIF? PNG? JPG is too muddy, and
> BMP is too big.
>
> Paul
Kevin Spencer - 13 Sep 2007 11:40 GMT
The advantage of the GIF format is that it is paletted, which means that if
an image has fewer colors, you can use a smaller, selective palette. This
reduces the size of the file without compression. The smaller the number of
colors in the palette, the smaller the image. PNG is not universally
supported, and is not particularly small in size. It's greatest selling
point is its ability to store variable alpha (transparency). GIF has alpha,
but uses a single color for transparency, and the transparency is either off
or on for any pixel, rather than variable. So, assuming that your graphs
have only a few colors in them, GIF might be your best bet.

Signature

HTH,

Kevin Spencer
Microsoft MVP

DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

>I am rendering a few graphs with GDI+ and sending images to a web page.
>What image format is lightweight and the best for presenting line drawings
>sharply and without compression artifacts? GIF? PNG? JPG is too muddy, and
>BMP is too big.
>
> Paul

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.