Difference between revisions of "Krita/Manual/Basic Concepts"

Jump to: navigation, search
Line 4: Line 4:
  
 
==Basic Concepts==
 
==Basic Concepts==
 +
===Raster and Vector===
 +
Even though Krita is primarily a raster based application, but it also has some vector editing capabilities too. If you are new to Digital painting medium, it is necessary that you know the concepts of raster and vector.
  
'''Krita''' is about painting, introduction to digital painting, layers, blending modes, links to fun stuff.
+
In digital imaging, a pixel (Picture Element) is a basic and lowest element of an Image. It is basically a grid of points each displaying specific color. Raster editing is manipulating and editing these pixels. For example when you take a 1 pixel brush which is colored black and painting on the white canvas in Krita you are actually changing the color of the pixel beneath your brush from white to black.
  
=== Blending Modes, Gimp, Photoshop and Krita ===
+
On the contrary vector graphic work based on mathematical expressions. They are independent of the pixel. For example when you draw a rectangle on a vector layer in Krita you are actually drawing paths passing through points called nodes which are located on a specific co-ordinates on 'x' 'y' axis, when you re-size or move these points the computer calculates and redraws the path and displays the newly formed shape to you. Hence you can re-size the vector shape to any extent without any loss in quality.
  
I think we can only maintain compatibility with other applications but not UI-consistency (or consistency in usability, or whatever). Right now we are trying to maintain compatibility with '''Gimp''' and '''Photoshop''' but these two applications really behave different when it comes down to compositing. For compositing '''Photoshop''' uses some kind of weighted average (or whatever) to mix the source color into the resulting color and recalculates the alpha value accordingly when the destination color is semitransparent but '''Photoshop''' does this only for compositing while painting. And you can disable this by locking the alpha channel in '''Photoshop'''. '''Gimp''' doesn't use this at all (besides the "Normal" blending mode). Gimp behaves for all blending modes expect "Normal" like if the alpha channel is locked.
+
In Krita everything which is not on a vector layer is raster based.  
  
And now we are here with '''Krita'''. '''Krita''' doesn't distinguish internally between compositing the brush strokes and layer composition (it uses the same code). To make it compatible to '''Photoshop''' we implemented the blending mode computations after the specs of Adobe. And since '''Krita''' doesn't distinguish between the two compositing types we only could bring this all together by adding the <menuchoice>Disable alpha</menuchoice> button so that the user can choose what he/she prefers.
+
===Canvases, Views and Windows===
  
To explain the behavior in short :
 
 
* Inverting the alpha channel will alter the default behavior of the "Normal" blending mode (leads to incompatibility to both '''Gimp''' and '''Photoshop''')
 
 
* making it completely consistent to '''Gimp''' will destroy '''Photoshop''' consistency (and vice versa).
 
  
 
{{Prevnext2
 
{{Prevnext2

Revision as of 06:45, 14 July 2015

Under construction.png
 
Under Construction
This is a new page, currently under construction!


Dialog-information.png
 
Information
This manual is a rewrite of the 1.6 manual. It is not complete.



Basic Concepts

Raster and Vector

Even though Krita is primarily a raster based application, but it also has some vector editing capabilities too. If you are new to Digital painting medium, it is necessary that you know the concepts of raster and vector.

In digital imaging, a pixel (Picture Element) is a basic and lowest element of an Image. It is basically a grid of points each displaying specific color. Raster editing is manipulating and editing these pixels. For example when you take a 1 pixel brush which is colored black and painting on the white canvas in Krita you are actually changing the color of the pixel beneath your brush from white to black.

On the contrary vector graphic work based on mathematical expressions. They are independent of the pixel. For example when you draw a rectangle on a vector layer in Krita you are actually drawing paths passing through points called nodes which are located on a specific co-ordinates on 'x' 'y' axis, when you re-size or move these points the computer calculates and redraws the path and displays the newly formed shape to you. Hence you can re-size the vector shape to any extent without any loss in quality.

In Krita everything which is not on a vector layer is raster based.

Canvases, Views and Windows


Content is available under Creative Commons License SA 4.0 unless otherwise noted.