Rasterization
Rasterization (Vector-to-Pixel Conversion)
Rasterization is the process of converting vector graphics (mathematical shapes) into raster images (pixel grids). This is necessary when displaying SVG, PDF, or font glyphs on pixel-based screens or exporting to bitmap formats.
ุงูุชูุงุตูู ุงูุชูููุฉ
Rasterization involves scan-line algorithms that determine which pixels fall inside vector paths, then applies anti-aliasing to smooth edges. Sub-pixel rendering uses RGB subpixels for finer detail on LCD displays.
ู ุซุงู
```javascript
// Rasterization: processing with Canvas API
const canvas = document.createElement('canvas');
const ctx = canvas.getContext('2d');
ctx.drawImage(sourceImage, 0, 0);
const imageData = ctx.getImageData(0, 0, canvas.width, canvas.height);
// Process pixels in imageData.data (RGBA array)
```
ุตูุบ ุฐุงุช ุตูุฉ
ุฃุฏูุงุช ุฐุงุช ุตูุฉ
C
Compress Image
R
Resize Image
C
Crop Image
R
Rotate Image
F
Flip Image
C
Convert Image
W
Watermark Image
S
SVG to PNG
I
Image to Base64
R
Round Corners
A
Add Border
I
Image Filters
A
Adjust Image
B
Blur Image
S
Sharpen Image
M
Make Square
G
Grayscale Image
S
Sepia Image
P
Pixelate Image
S
Strip Image Metadata