stipple pixmap is usable.
* image-bm.el: Don't require bitmap when compiling.
(require 'poe)
-(eval-when-compile (require 'bitmap))
-
(defun-maybe image-type-available-p (type)
"Value is non-nil if image type TYPE is available.
Image types are symbols like `xbm' or `jpeg'.
(setq bitmap (concat bitmap "\n"
(bitmap-compose (aref image i)))
i (1+ i)))
- (put-text-property 1 (string-width bitmap) 'pimage-bitmap bitmap)
+ (put-text-property 1 (length bitmap) 'pimage-bitmap bitmap)
bitmap)
(error nil)))))
((featurep 'mule)
(condition-case nil
(require 'image)
- (file-error
+ (error
(condition-case nil
- (progn
- (require 'bitmap)
- (require 'image-bm))
- (file-error (require 'tinyimage.el))))))
+ (progn (require 'bitmap) (require 'image-bm))
+ (error
+ (if (fboundp 'set-face-stipple)
+ (require 'image-stpl)
+ (require 'tinyimage.el)))))))
(t (require 'tinyimage.el)))
(require 'product)