If I have a "normal" source image, how do I use python to change it into a new image composed of just colored polygons and/or triangles? Can the PIL do this? Thanks!
For further actions, you may consider blocking this person and/or reporting abuse
If I have a "normal" source image, how do I use python to change it into a new image composed of just colored polygons and/or triangles? Can the PIL do this? Thanks!
For further actions, you may consider blocking this person and/or reporting abuse
javinpaul -
Memgraph -
van -
Ugbem Job -
Once suspended, iceorfiresite will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, iceorfiresite will be able to comment and publish posts again.
Once unpublished, all posts by iceorfiresite will become hidden and only accessible to themselves.
If iceorfiresite is not suspended, they can still re-publish their posts from their dashboard.
Once unpublished, this post will become invisible to the public and only accessible to Ice or Fire.
They can still re-publish the post if they are not suspended.
Thanks for keeping DEV Community safe. Here is what you can do to flag iceorfiresite:
Unflagging iceorfiresite will restore default visibility to their posts.
Top comments (2)
Answer copied from a reddit post:
This is actually a pretty hard computer science problem, and you may be better off using existing software tools rather than writing your own. However, it may be a fun learning project. What you want to google is "algorithm convert bitmap to vector". Your "normal image" is a bitmap image: a grid of colored pixels. And you want to convert it to a list of colored shapes, which is called a vector image.
This twitter feed has some examples: twitter.com/PrimitivePic
It has a brief explanation here: primitive.lol/