|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I made web page with a single-color background, and used a color-picker tool in
dreamweaver to choose the color from one of the images in the webpage. But I noticed in Firefox that the color is rendered differently in the background than the original color in the graphic. So I used a single pixel jpg file instead and tiled it as the background image. Is a single pixel graphic image, tiled in the background, a problem for web browsers? Is it ever done? Does it slow things down? Question number 2: Firefox seems to slightly diminish the colors of the graphics in the web page. Does each browser display graphics, and all colors, a little differently? Thanks for the ! |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
> Is a single pixel graphic image, > tiled in the background, a problem for web browsers? it is a problem in the old netscape browsers- they would draw the background line by line before showing any content. Don't think it's a major problem in other browsers. i'd use maybe a 2x5 block instead of a single pixel. -- Alan Adobe Community Expert, dreamweaver http://www.adobe.com/communities/experts/ |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
..oO(brainfillet)
>I made web page with a single-color background, and used a color-picker tool in >dreamweaver to choose the color from one of the images in the webpage. But I >noticed in Firefox that the color is rendered differently in the background >than the original color in the graphic. So I used a single pixel jpg file >instead and tiled it as the background image. Is a single pixel graphic image, >tiled in the background, a problem for web browsers? For old browsers on slower systems. But it's a bad idea anyway. For a single-color background an image doesn't make any sense, CSS is the way to go. Even worse is to do it with a JPEG. The color differences you see are usually not caused by the browser (except maybe for IE, which has some known problems there), but by the images themselves. Remember that JPEG is a lossy format, you'll almost always get slightly different colors after the compression. And dependent on the compression rate these differences might become visible or not. >Is it ever done? Probably, but I would _never_ recommend it. >Does it >slow things down? Every additional HTTP request and file download slows things down. Do as much as you can with CSS. >Question number 2: Firefox seems to slightly diminish the >colors of the graphics in the web page. Does each browser display graphics, >and all colors, a little differently? Thanks for the ! See above. It's the JPEG that causes the problem. So you might consider to use a lower compression rate or the PNG format instead, dependent on the image. JPEG is the perfect choice for photographs, but for other images like logos, buttons or decorational stuff with big single-color or transparent areas you should use PNG, which uses lossless compression and keeps your colors as they are. Micha |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
Saving to JPEG could cause a color shift in an image, although with a very
small monchrome image I wouldn't expect it. Saving to GIF would preserve the color, as long as you don't allow the intended color to map to a different one. |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
..oO(Matt)
>Saving to JPEG could cause a color shift in an image, although with a very >small monchrome image I wouldn't expect it. Saving to GIF would preserve the >color, as long as you don't allow the intended color to map to a different >one. Better use PNG. GIF is dead. Micha |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
Thanks for the ! By the way, Safari does not display the colors a little
off, the way Firefox does. Safari matches it right. Also, DW itself displays the graphics a little diminished. When I look at the original Photoshop jpg next it installed in DW, the DW version is diminished (lightened a little). |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
> i'd use maybe a 2x5 block instead of a single pixel.
I think the minimum file download size is 1K, so you might as well make it larger so the browser has less tiling to do. Randy |
|
|
|
#8 |
|
Messages: n/a
Hébergeur: |
brainfillet wrote:
> Thanks for the ! By the way, Safari does not display the colors a little > off, the way Firefox does. Safari matches it right. Also, DW itself displays > the graphics a little diminished. When I look at the original Photoshop jpg > next it installed in DW, the DW version is diminished (lightened a little). > Have you tried a GIF instead? Steve |
|
|
|
#9 |
|
Messages: n/a
Hébergeur: |
i will make use of the adobe community experts and solve out the problems
thanks |
|
![]() |
| Outils de la discussion | |
|
|