In Part 1 of this two part tutorial series, we learned how to code a script which converts a flat process color into its matching gradient. In this tutorial, we will learn to code a script that converts a gradient fill into a flat process color. We will melt the available gradient color into a flat process color, which will be a mixture of all the colors available in that gradient.
This entire task will be performed via JavaScript script for Illustrator. The tutorial assumes that you're familiar with the basics of scripting. For those who've directly landed on this tutorial, we have a little know-how covered about Illustrator's Javascripts in Part 1 of this series. So without further delays, let's get started!
This tutorial is going to walk you through the process of making a nice flat-screen HDTV. This could be great for showing off images or videos, or just honing your Illustrator skills. We will cover a variety of tools including the Gradient Palette and the Pathfinder Palette. Lets get started!