Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Some .gifs, .pngs and .jpgs show pixelated

Some .gifs, .pngs and .jpgs show pixelated

26 Jan 2012, 9:00 PM
#1
jcrewe avatar

jcrewe

Zen Follower

Join Date:
Jul 2011
Posts:
107
Plugin Contributions:
0

Post #1 by jcrewe

Hi there,

I am wondering if anyone knows why some of the pictures I have added to my site are pixlated? Here's a little more detail:

I have created a 'sell sheet' that I would like to add to one of my ez pages. I have saved the document in jpg, png and gif format and saved it at 300 dpi. I upload it onto my ez page in the html content section using the image button and then resize it a little smaller so it fits on the page and it appears pixelated...the edges and text are not smooth. I have tried using all three formats but I have the same results. I dont have this problem when using a photograph or in the product image section for each product...only when I add a non-photography image to a product description or html content section.

I removed the sell sheet from the ez page and kept the original one there, however, even the original picture I have on there is pixelated. Here's a link to the page: http://funwrappers.ca/index.php?main_page=page&id=1

Crossing my fingers someone can help me out with this one as I'd really like to use my sell sheet to spruce up that section of my site.

Thanks in advance :smile:

27 Jan 2012, 12:21 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Post #2 by stevesh

The image in your example doesn't look pixilated to me. Can you use the sell sheet instead ?

27 Jan 2012, 2:38 PM
#3
jcrewe avatar

jcrewe

Zen Follower

Join Date:
Jul 2011
Posts:
107
Plugin Contributions:
0

Post #3 by jcrewe

Thanks Stevesh for talking a look. Weird that the image you saw didnt look pixelated to you because it does on my computer. I have changed the image to the one that I actually want which is my sell sheet. It's still looking pixelated on my end :shocking:

Thanks,

Jenn

27 Jan 2012, 2:46 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Post #4 by stevesh

Could be we mean different things by 'pixilated'.

How does this image made from a screenshot of your page look there?

http: //www.stevesh.org/demo/sheet.jpg

27 Jan 2012, 3:02 PM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Post #5 by gjh42

Two points:

Since you are using a 300dpi image and displaying at 72dpi. the browser has to resize it every time someone views it, which is generally quick & dirty, and less effective/graceful than Photoshop's rendering.

You have a huge image file (1196 kb) which takes a long time to download on slower connections. This is bad.

What you should do is make a copy of the image in Photoshop or whatever that is the exact pixel size you want it to display at. This will load faster and look better.

27 Jan 2012, 4:01 PM
#6
jcrewe avatar

jcrewe

Zen Follower

Join Date:
Jul 2011
Posts:
107
Plugin Contributions:
0

Post #6 by jcrewe

Stevesh, we might be meaning two different things. What I am referring to is that the lines dont look smooth almost as if it is a low resolution image. I tried the link you posted but it doesnt seem to be working :dontgetit

gjh42, you make some very good points! I have to get out of the mindset that just because it loads quickly on my computer doesnt necessarily mean that it is for everyone else. I am assuming that if the image is displaying at 72dpi then saving at 300 dpi is actually causing more problems. I will resize my image so it doesnt take so long to load. I am wondering if you happen to know of a way to know what size the image should be? Is there some kind of calculation or formula to determine the size an image should be on a webpage?

Thank you both so very much for taking the time to help me out with this...it is very much appreciated :smile:

27 Jan 2012, 4:50 PM
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Post #7 by gjh42

If you know how big the page dimensions are (in pixels), you can set that directly in Photoshop's Image sizing tool. You just need to select the right units.

28 Jan 2012, 7:27 AM
#8
jcrewe avatar

jcrewe

Zen Follower

Join Date:
Jul 2011
Posts:
107
Plugin Contributions:
0

Post #8 by jcrewe

Thanks gjh42....I will look into how to determine the size of the page and resize the image. I am wondering, though, if the picture appears low resolution on your monitor? It does on mine but I got the impression that it looked okay to Stevesh.

Thanks :smile:

Jenn

28 Jan 2012, 7:42 AM
#9
jcrewe avatar

jcrewe

Zen Follower

Join Date:
Jul 2011
Posts:
107
Plugin Contributions:
0

Post #9 by jcrewe

Okay, I resized the image and I think it looks a little better, still not exactly what I was hoping for but it's a little better :smile:

28 Jan 2012, 6:50 PM
#10
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Post #10 by gjh42

Any gif/png with indexed colors (i.e. only certain colors allowed) cannot smoothly scale down, as you can't get blended tones to approximate the mixed edge areas.

What you have now is definitely better; you could probably improve it more by allowing a greater range of colors in the image when saving it.

28 Jan 2012, 7:48 PM
#11
jcrewe avatar

jcrewe

Zen Follower

Join Date:
Jul 2011
Posts:
107
Plugin Contributions:
0

Post #11 by jcrewe

WOW, it's amazing how much I'm learning! I didnt realize I could change the range of colours. While I totally understand what you have explained, what I can't figure out is how to change the range of colours. I created the sell sheet in MS Publisher and have Paintshop Pro for editing images. Do you know if I am able to change the range of colours in either of those two programs? I have Google searched it but cannot find anything, however, I may be searching the wrong thing.

I am very grateful for all your assistance with this :smile: