18,7 → 18,6 |
;;================================================================================================;; |
|
include 'pcx.inc' |
;include '../../../../system/board/trunk/debug.inc' |
|
;;================================================================================================;; |
proc img.is.pcx _data, _length ;//////////////////////////////////////////////////////////////////;; |
238,14 → 237,16 |
|
|
;;================================================================================================;; |
proc img.encode.pcx _img, _p_length, _options ;///////////////////////////////////////////////////;; |
proc img.encode.pcx _img, _common, _specific ;////////////////////////////////////////////////////;; |
;;------------------------------------------------------------------------------------------------;; |
;? Encode image into raw data in pcx format ;; |
;;------------------------------------------------------------------------------------------------;; |
;> _img = pointer to image ;; |
;> [_img] = pointer to image ;; |
;> [_common] = format independent options ;; |
;> [_specific] = 0 / pointer to the structure of format specific options ;; |
;;------------------------------------------------------------------------------------------------;; |
;< eax = 0 (error) or pointer to encoded data ;; |
;< _p_length = encoded data length ;; |
;< eax = 0 / pointer to encoded data ;; |
;< ecx = error code / the size of encoded data ;; |
;;================================================================================================;; |
xor eax, eax |
ret |