Variable: image-crop-buffer-text-function
image-crop-buffer-text-function is a variable defined in
image-crop.el.gz.
Value
image-crop--default-buffer-text
Documentation
Function to return the buffer text corresponding to the cropped image.
After cropping an image, the displayed image in the buffer will be updated
to show the cropped image. Different modes will have different ways to
represent this image data in a buffer, but that's up to the mode. For
instance, an HTML-based mode might want to represent the image with
<img src="data:...base64...">.
The default action is to not alter the image's text in the buffer, and just return it.
The function is called with two arguments: the original buffer text, and the cropped image data.
Source Code
;; Defined in /usr/src/emacs/lisp/image/image-crop.el.gz
(defvar image-crop-buffer-text-function #'image-crop--default-buffer-text
"Function to return the buffer text corresponding to the cropped image.
After cropping an image, the displayed image in the buffer will be updated
to show the cropped image. Different modes will have different ways to
represent this image data in a buffer, but that's up to the mode. For
instance, an HTML-based mode might want to represent the image with
<img src=\"data:...base64...\">.
The default action is to not alter the image's text in the buffer, and
just return it.
The function is called with two arguments: the original buffer text,
and the cropped image data.")