Jump to content

PNG


The_dmt1234

Recommended Posts

ahh this is kinda confusing to ask, it's a theoretical question i don't need to make a pictures better quality or smaller size um just wondering how does making your file a PNG instead of BMP or whatever the paint default is not affect the quality but it makes it a smaller size, like um a technical question

]ac_s_dc.png

Link to comment
Share on other sites

You gotta be an expert on photoshop to do that

 

 

 

From what I know png keeps the quality 99,99% at a much lower size than bmp which is the default

 

 

 

Jpg decreases both quality and size by a lot, gif does that too

 

 

 

But with photoshop you can convert to jpg/gif without losing quality, I don't know how to do that

 

 

 

Just open the file through paint and save as the file format that you want

Link to comment
Share on other sites

JPG and PNG use different techniques to save images.

 

PNG is not always smaller then JPG.

 

Which one is best depends on the image.

 

I don't know what the exact differences are though but I believe JPG is better at saving large areas of one color.

 

 

 

PS is not the only program in which you can set the JPG quality by the way.

 

The JPG quality defines how much JPG artifacts are allowed, at full quality there is no image loss, at lowest there is pretty much.

 

The GIF format is the most annoying one, it can only support a maximum of 256 colors.

signature.jpg

My guide: Ring of Wealth explained

 

8 Dragon Boots (885 kills, 1/111, with RoW)

 

angel2w.gif

Link to comment
Share on other sites

I'm not entirely sure, but I think it has something to do with the way the image is created and processed. Bitmap and JPEG can use lots of colour models, whereas PNG can only use one (JPEG and bitmap can use RGB, CMYK etc), which means that JPEG and bitmap would be generally larger in size.

 

 

 

PNG uses a lossless compression algorithm, know as 'DEFLATE'. It is a combination of 'Huffman coding' and the LZ77 Algorithm. Huffman coding uses bit reduction, whereby commonly used symbols are replaced by a shorter representation.

 

 

 

JPEG is a compressed image format, but not lossless. The compression causes the distortions you see in images.

 

 

 

So, Lossless compression is the key to this.

Link to comment
Share on other sites

Isnt it something to do with bitmap files having ifnormation for each pixel.

 

 

 

Picture in your head a 3 x 3 pixel square coloured green for the moment if it were in excel.

 

 

 

A bitmap would have this as the information:

 

A1 = Green

 

A2 = Green

 

A3 = Green

 

B1 = Green

 

B2 = Green

 

B3 = Green

 

C1 = Green

 

C2 = Green

 

C3 = Green

 

 

 

Whereas a PNG file would just say:

 

A1 to C3 = Green.

 

 

 

Thats where the lower filesize comes from because it stores the image information in a more efficient way.

612d9da508.png

Mercifull.png

Mercifull <3 Suzi

"We don't want players to be able to buy their way to success in RuneScape. If we let players start doing this, it devalues RuneScape for others. We feel your status in real-life shouldn't affect your ability to be successful in RuneScape" Jagex 01/04/01 - 02/03/12

Link to comment
Share on other sites

I'm not entirely sure, but I think it has something to do with the way the image is created and processed. Bitmap and JPEG can use lots of colour models, whereas PNG can only use one (JPEG and bitmap can use RGB, CMYK etc), which means that JPEG and bitmap would be generally larger in size.

 

 

 

PNG uses a lossless compression algorithm, know as 'DEFLATE'. It is a combination of 'Huffman coding' and the LZ77 Algorithm. Huffman coding uses bit reduction, whereby commonly used symbols are replaced by a shorter representation.

 

 

 

JPEG is a compressed image format, but not lossless. The compression causes the distortions you see in images.

 

 

 

So, Lossless compression is the key to this.

 

 

 

It is possible to save JPG lossless...

 

It does become a little bigger then PNG I think.

signature.jpg

My guide: Ring of Wealth explained

 

8 Dragon Boots (885 kills, 1/111, with RoW)

 

angel2w.gif

Link to comment
Share on other sites

JPG by its very nature is a lossy format. If you took all the compression away then it would just be a bitmap saved as a jpg in name only

612d9da508.png

Mercifull.png

Mercifull <3 Suzi

"We don't want players to be able to buy their way to success in RuneScape. If we let players start doing this, it devalues RuneScape for others. We feel your status in real-life shouldn't affect your ability to be successful in RuneScape" Jagex 01/04/01 - 02/03/12

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.