Skip to main content
Participant
March 13, 2023
Answered

Issues creating a vector using "Create Object mosaic"

  • March 13, 2023
  • 3 replies
  • 5906 views

Hello community 🙂

 

I am trying to turn a PNG into a Vector file in Illustrator so I can edit the colors precisely, and I am having some issues.

 

The original image is a cellular automata, so it is pixelated by nature. "Image Trace" didn't do a good job of precisely tracing the image, so I used the "Create Object Mosaic" function. This worked really well but it took hours and hours to compute the file. Then once the file was converted to a vector, it was extremely slow to do anything, like zooming in or selecting colors.

 

Is there a better way to do this? My goal is to have this file be a vector so I can easily edit the individual colors and export the file at varying sizes without the image getting blurry.

 

Thanks!

 

Here is a close-up of the image. The actual image is much bigger.

This topic has been closed for replies.
Correct answer Ton Frederiks

Hi ChloeBO,  I cannot do it anymore as simple as I described it.

I first have to convert to grayscale, convert back to RGB, Posterize and convert to Indexed color.

3 replies

Kurt Gold
Community Expert
Community Expert
March 13, 2023

Illustrator's Object Mosaic is a pretty old filter that has to analyze and process/combine each single pixel of the source image. Depending on dimensions and actual ppi that may just take a very long time.

 

What you can try is to first decrease the ppi with the Object menu > Rasterize command. Or you may first split the big raster image into several smaller ones, use Object Mosaic and combine the vector squares later.

 

Ton Frederiks
Community Expert
Community Expert
March 13, 2023

Ton Frederiks
Community Expert
Community Expert
March 13, 2023

Looks like a job for Photoshop.

Edit: First choose Image > Adjustments > Posterize and use 3 colors.

Convert the image to Indexed Color with 3 colors and no transparency.

Edit the Color Table to change the colors.

When enlarging use Nearest Neighbour to avoid anti-aliasing.

ChloeBOAuthor
Participant
April 27, 2023

Hi Ton, I just tried doing this again, and weirdly something seems off. After posterizing the image, when I select Image>Mode>Indexed Color, there are no longer 3 dots after Indexed Color, and no dialog box shows up to select 3 colors and no transparency. Then when I go to the Color Table I can't edit the 3 colors, there are maaany colors that show up and it's not easy to edit like before.... (see images). Am I doing something wrong? Or did something change in Photoshop? Feeling confused.... Also, I checked this in both Ps 2022 and 2023.

Ton Frederiks
Community Expert
Ton FrederiksCommunity ExpertCorrect answer
Community Expert
April 27, 2023

Hi ChloeBO,  I cannot do it anymore as simple as I described it.

I first have to convert to grayscale, convert back to RGB, Posterize and convert to Indexed color.