[Logo] OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
t:heximage and mirror, shear, etc.  XML
Forum Index -> Development
Author Message
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
[WWW]
CaptainCasa

Power User
[Avatar]

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
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
[WWW]
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team