Author |
Message |
10/02/2011 13:11:46
|
mmueller
Active
Joined: 17/12/2009 07:05:17
Messages: 24
Location: Ettlingen
Offline
|
Is there a chance to use the image processing possibilities of bgpaint (/shear, /mirror, ...) with a t:heximage component?
Kind regards,
Markus
|
|
|
10/02/2011 13:35:29
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
Offline
|
Hi,
no, there is no directy way...
But some indirect way: you can build images out of bgpaint.
Example:
/bgpaint(210,200):rectangle(0,0,100%,100%,#000000);...
...is an image that you can use everyhwere where IMAGE is referenced (e.g. in the normal IMAGE component).
In the bgpaint you can add all painting commands, and there is also one with drawing heximages, e.g.
/bgpaint(210,200):heximage(0,0,210,200,08FF40324672849CDFE...,lefttop)
Then you can prepend the normal shearing caommands:
/shear(...):/bpaint:...
...and the result is (should be) a sheared image.
So...: replace you HEXIMAGE by IMAGE, build up a corresponding IMAGE attribute...
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
11/02/2011 14:02:56
|
mmueller
Active
Joined: 17/12/2009 07:05:17
Messages: 24
Location: Ettlingen
Offline
|
Hi,
if I use t:image with the image attribute set to the value
heximage(15,15,30,30,FFD8FFE... 940 hexchars following ...,centermiddle)
nothing is displayed.
A t:heximage component works if I set the hexdata attribute to the same value (i.e. the pure 947 hexchars).
What is the meaning of the leading slash and the separation by colon instead of semicolon?
The documentation uses only the semicolon (;) to separate processing steps
and nowhere I could find a slash in front of a processing command (e.g. rectangle).
Kind regards,
Markus
|
|
|
|
|
|