![]() For best results, this value varies and not all images look good with this technique. On my example, i decided to make the "square pixels" 40px wide. The first step is to pixelate the image (Filters > Distort > Pixelate). It's a PS video but it will give you a better understanding of what we're trying to replicate in A.Photo. Watch this video before continue reading. Ich bin neu im Umgang mit Affinity Photo. Welche Vorgehensweise empfehlt ihr mir? Es tut mir Leid, leider kenne ich mich noch nicht so sehr aus. Die neue Ebene wäre also ein Raster mit dem grauen Hintergrund und transparenten Löchern. Sodass ich im Anschluss eine neue Ebene "über" das Bild erstellen kann, der die quadratischen Pixel "rund visualisiert". (Ich nehme an, ich sollte ein neues Dokument (mit 3,7 Meter x 5 Meter) anlegen und das niedrigpixelige Foto groß skalieren. Man stelle sich das vor wie ein Mosaik mit runden Fliesen.ĭer Hintergrund, der jeweils dann zwischen den runden Pixeln durchschaut soll am Ende schwarz oder grau sein. Und zur Visualisierung des Projektes sollen die einzelnen Pixel (werden später analog ähnlich wie ein Puzzle gesteckt) rund "gemacht" werden. Wie mache ich das am besten? Und vielleicht macht diese Farbton-Reduzierung auch bereits VOR der Pixelanzahl-Reduzierung Sinn (wo kann man das bessere Ergebnis erzielen)?Ģ. Ich möchte nun aber möglichst sinnvoll die Farbrange auf insgesamt 10-15 sinnvolle Grautöne reduzieren. I am new to using Affinity Photo.įür ein Kunstprojekt würde ich gerne ein Foto auf eine bestimmte Pixelanzahl bringen.ĭas analoge Kunstwerk soll später 5 Meter hoch sein und 3,696 Meter breit, also einem Seitenverhältnis von etwa 3:4 entsprechen.ĭa jeder Pixel an der Wand später 0,8 cm misst entspricht das den Maßen von 462,5 px x 625 px.īislang habe ich also mein Foto in Affinity Foto geladen, in BW umgewandelt und die Dokumentgröße entsprechend meiner Pixelanzahl reduziert.ġ. What approach do you recommend for me? I'm sorry, unfortunately I don't know much about it yet. So the new layer would be a grid with the gray background and transparent holes. So that I can then create a new layer "over" the image that "visualizes" the square pixels as round. (I suppose I should create a new document (with 3.7 meters x 5 meters) and scale the low-pixel photo large. The background, which looks through between the round pixels, should be black or gray at the end. ![]() ![]() Imagine it like a mosaic with round tiles. and for the visualization of the project the single pixels (will be put together later similar to a puzzle) should be "made" round. What is the best way to do that? And maybe this color range reduction makes sense BEFORE the pixel count reduction (where to get the better result)?Ģ. But now I want to reduce the color range as reasonably as possible to a total of 10-15 reasonable shades of gray. So far, I've loaded my photo into Affinity Photo, converted it to BW, and reduced the document size to match my pixel count.ġ. The analog artwork should later be 5 meters high and 3.696 meters wide, thus corresponding to an aspect ratio of about 3:4.Īs each pixel on the wall later measures 0.8 cm, this corresponds to the dimensions of 462.5 px x 625 px. I am from Germany and I am studying arts.įor an art project, I would like to bring a photo to a certain pixel count. ![]() Whatever the problem is I'm very stuck and would appriciate some help.Īlternativley, is there a better Python library to use for this task as I'm open to suggestions.Hello, my name is Leonard, I am new in the forum and happy to be part of the international community here. If given, this should be 4- or 12-tuple containing floating point values.' which I am unsure how to implement. According to the documentation the matrix argument is 'An optional conversion matrix. I assume my pall is given in an incorrect format/size or that I need to include a matrix argument in the convert method. ImageWithColorPalette = nvert("P", palette=pall, colors=4) The problem is this code returns the exact same image as the above code and seems to just go with an adaptive palette and ignore the custom one I have attempted to specify: from PIL import Image This code is similar except I have attempted to use my own color palette. ImageWithColorPalette = nvert("P", palette=Image.ADAPTIVE, colors=4) This code will correctly reduce the colors in image 'Z.png' down to only 4 colors, based on a palette of colors created from the image itself: from PIL import Image I am having trouble with the Pillow library as evidenced below. Essentially to give the program a set of x colors and have it associate each pixel in a full color image with the closest color from the given list. I want to reduce the bit depth (color depth) of an image down to a set of custom colours in Python.
0 Comments
Leave a Reply. |