0

I imagine imagemagick or likewise could achieve this, but have not yet found a command to tell me.

Vinny Glennon
  • 149
  • 1
  • 13

1 Answers1

1

No. Or at least, not reliably. The language doesn't have a `gradient' directive that can be quickly identified.

From MJ Rutter's - EPS: a Programming Language

There are several ways of creating a gradient fill background: Gradient Fills

  1. Draw filled rectangle covering whole area, then a rectangle marginally smaller covering almost whole area and of next shade, etc.
  2. Draw abutting filled rectangles.
  3. Draw slightly overlapping filled rectangles.
  4. Scale a 1D bitmap appropriately.

Authors of EPS files would leverage old-school techniques, and I wouldn't be surprised if various companies / vendors have implemented unique methods of applying gradients.

You can always render the EPS file into a raster image, than use to determine if a gradient slop exists. See this question for an idea.

Community
  • 1
  • 1
emcconville
  • 23,800
  • 4
  • 50
  • 66