summaryrefslogtreecommitdiff
path: root/devdocs/elisp/other-image-types.html
blob: ee591ae1ef9bd1673778cd56ae64320ec866c053 (plain)
1
2
3
4
5
6
7
8
9
10
 <h4 class="subsection">Other Image Types</h4>  <p>For PBM images, specify image type <code>pbm</code>. Color, gray-scale and monochromatic images are supported. For mono PBM images, two additional image properties are supported. </p> <dl compact> <dt><code>:foreground <var>foreground</var></code></dt> <dd>
<p>The value, <var>foreground</var>, should be a string specifying the image foreground color, or <code>nil</code> for the default color. This color is used for each pixel in the PBM that is 1. The default is the frame’s foreground color. </p> </dd> <dt><code>:background <var>background</var></code></dt> <dd><p>The value, <var>background</var>, should be a string specifying the image background color, or <code>nil</code> for the default color. This color is used for each pixel in the PBM that is 0. The default is the frame’s background color. </p></dd> </dl> <p>The remaining image types that Emacs can support are: </p> <dl compact> <dt>GIF</dt> <dd>
<p>Image type <code>gif</code>. Supports the <code>:index</code> property. See <a href="multi_002dframe-images">Multi-Frame Images</a>. </p> </dd> <dt>JPEG</dt> <dd>
<p>Image type <code>jpeg</code>. </p> </dd> <dt>PNG</dt> <dd>
<p>Image type <code>png</code>. </p> </dd> <dt>TIFF</dt> <dd><p>Image type <code>tiff</code>. Supports the <code>:index</code> property. See <a href="multi_002dframe-images">Multi-Frame Images</a>. </p></dd> </dl><div class="_attribution">
  <p class="_attribution-p">
    Copyright &copy; 1990-1996, 1998-2022 Free Software Foundation, Inc. <br>Licensed under the GNU GPL license.<br>
    <a href="https://www.gnu.org/software/emacs/manual/html_node/elisp/Other-Image-Types.html" class="_attribution-link">https://www.gnu.org/software/emacs/manual/html_node/elisp/Other-Image-Types.html</a>
  </p>
</div>