You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specify the colorspace that quantization (color reduction and mapping) is done under or to specify the colorspace when encoding an output image.
407
-
Color spaces are ways of describing colors to fit the requirements of a particular application (e.g. Television, offset printing, color monitors).
408
-
Color reduction, by default, takes place in the RGBColorspace. Empirical evidence suggests that distances in color spaces such as YUVColorspace or
409
-
YIQColorspace correspond to perceptual color differences more closely than do distances in RGB space. These color spaces may give better results when
410
-
color reducing an image.
406
+
Specify the colorspace that quantization (color reduction and mapping) is done under or to specify the colorspace when encoding an output image. Color
407
+
spaces are ways of describing colors to fit the requirements of a particular application (e.g. Television, offset printing, color monitors). Color
408
+
reduction, by default, takes place in the RGBColorspace. Empirical evidence suggests that distances in color spaces such as YUVColorspace or YIQColorspace
409
+
correspond to perceptual color differences more closely than do distances in RGB space. These color spaces may give better results when color reducing an
<p>The alpha channel is the opacity of the image, which can range from 0 (Magick::OpaqueOpacity) to QuantumRange (Magick::TransparentOpacity).</p>
268
268
269
269
<p>
270
-
A <code>Pixel</code> object contains the numeric representation of a color. The <ahref="struct.html#Pixel.from_color">Pixel.from_color</a> method
271
-
converts a color name to a pixel. There are two methods to convert a pixel to a color name. The
272
-
<ahref="struct.html#Pixel.to_color">Pixel#to_color</a> method requires that you specify whether the alpha (opacity) channel is used, the depth (8 or 16)
273
-
and the color standard to use. The <ahref="image3.html#to_color">Image#to_color</a> method uses the image's
274
-
<ahref="imageattrs.html#depth">depth</a> attribute and <ahref="image1.html#alpha">alpha</a> method.
270
+
A <code>Pixel</code> object contains the numeric representation of a color. The <ahref="struct.html#Pixel">Pixel.from_color</a> method converts a color
271
+
name to a pixel. There are two methods to convert a pixel to a color name. The<ahref="struct.html#Pixel">Pixel#to_color</a> method requires that you
272
+
specify whether the alpha (opacity) channel is used, the depth (8 or 16) and the color standard to use. The
273
+
<ahref="image3.html#to_color">Image#to_color</a> method uses the image's<ahref="imageattrs.html#depth">depth</a> attribute and
274
+
<ahref="image1.html#alpha">alpha</a> method.
275
275
</p>
276
276
277
277
<p><em>Hint:</em> You can specify the transparent color as "none", "transparent", "#00000000", or rgba(0, 0, 0, 0.0).</p>
0 commit comments