Thursday, 18 October 2012

Pixel! What in the wonderful world, is a pixel?

File:Rgb-raster-image.svgA pixel is essentially a dot of colour, this colour is assigned instructions as to what colour it needs to be, these are essential to digital graphics as they are the basic building blocks of anything that is digital as these give it colour and form depending on the code for the required pixel which varies depending on what colour is needed, this can differ based on what type of pixel it is, raster or vector.
A pixel is made up of a combination of 3 colours; red, blue and green. With this, the colour is determined by a code, and that code will have so much red blue and green in it which is called the RGB scale.
This pictures shows an example of the RGB scale in use, it shows that white is made from 93% of each colour where as the Yellow is made from only red and green. The picture also shows that the image will pixilate the more zoomed in it gets.



Vector graphics re-scale the size of the image by re-sending the instructions for it but to accommodate a larger size when zoomed in, this works in terms of photographic digital graphics. In games these work differently and were primarily used in older generation games due to limitations of this type of graphic. Vector graphics are made up of curves that is based on information which means that they can me scaled infinitly without a loss of quality. Uses of vector graphics can include creating logo's and fonts.
File:VectorBitmapExample.svgThis picture shows how the two types of graphic differ, the bitmap image (raster) will substantially pixilated when zoomed in, this is because the image will remain as it is and will not compensate for the zoom. The vector graphic will be redrawn to compensate for the zoom witch means that it will not pixilate and will be clear.

Raster graphics are created entirely of pixels which consequently means that the quality of the image will drop when enlarged as the pixels will not compensate for the larger zoom. This type of graphic is good for digital photos and game textures that need to be high quality, the only downside is they have a large file size. This type of graphic is widely used on the internet as it is has good quality.

1 comment:

  1. A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.
    website: geeksforgeeks.org

    ReplyDelete