<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: dimaland1</title>
    <description>The latest articles on DEV Community by dimaland1 (@dimaland1).</description>
    <link>https://dev.to/dimaland1</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F657275%2F9689a921-f0f4-445e-a341-b87c3bf4a8d6.png</url>
      <title>DEV Community: dimaland1</title>
      <link>https://dev.to/dimaland1</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dimaland1"/>
    <language>en</language>
    <item>
      <title>Creating Pixel Art with Python and PIL Library</title>
      <dc:creator>dimaland1</dc:creator>
      <pubDate>Sat, 02 Dec 2023 00:28:24 +0000</pubDate>
      <link>https://dev.to/dimaland1/creating-pixel-art-with-python-and-pil-library-3d71</link>
      <guid>https://dev.to/dimaland1/creating-pixel-art-with-python-and-pil-library-3d71</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Pixel art is a digital art form where images are created at the pixel level. In this article, I'm going to show you how I used Python and the PIL (Python Imaging Library) to transform images into pixel art using a predefined color palette.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Concept&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The project involves taking an input image, resizing it to fit a 100x100 pixel grid while maintaining its aspect ratio, and then applying a custom color palette. The result is a colorful pixel art-style image and another in black and white with numbers corresponding to the colors in the palette.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Technology Used&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Python 3: A powerful and versatile programming language.&lt;/li&gt;
&lt;li&gt;PIL (Python Imaging Library): An image processing library for Python.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Results&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbf055qf0slt25pznfcb1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbf055qf0slt25pznfcb1.png" alt="Original image" width="577" height="433"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F26v0cgl2w1bjf3w588p8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F26v0cgl2w1bjf3w588p8.png" alt="Image pixelized with color" width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F67ngymknubsnh9s3al1f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F67ngymknubsnh9s3al1f.png" alt="Blank image pixelized" width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;It was Fun :)&lt;/p&gt;

&lt;p&gt;github link : &lt;a href="https://github.com/dimaland1/PixelArtGenerator"&gt;https://github.com/dimaland1/PixelArtGenerator&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>pil</category>
      <category>learning</category>
    </item>
  </channel>
</rss>
