roxen.lists.roxen.general

Subject Author Date
RE: rimage Arjan van Staalduijnen <Arjan[dot]van[dot]Staalduijnen[at]rtl[dot]nl> 12-08-2008
Do you mean GXML instead?

Regards,

Arjan

-----Oorspronkelijk bericht-----
Van: news [mailto:<news[at]ger.gmane.org>] Namens Bertrand LUPART
Verzonden: Tuesday, August 12, 2008 1:23 PM
Aan: <roxen[at]roxen.com>
Onderwerp: rimage

Hello,

Can someone give me some pointers or sample code about using Roxen's
image manipulation tag (rimage)?
Can't find anything using Google.

I especially have hard time figuring how layers and channels works and
the argument they accept.

A sample example of writing a text over an image using a mask channel
and/or an alpha channel would be very valuable. 

The following code doesn't do what i expect.

White text on black, image visible behind the text. I guess the mask
channel should be configured for white behing a color and black behing
transparent:

----8<----8<----8<----8<----
<rimage>
  <layer>
    <load channel="image" file="/images/logo.jpg">
    <write channel="mask" text="Foobar">
  </layer>
</rimage>
---->8---->8---->8---->8----


Image displayed, no text. I guess the alpha channel should be
configured:

----8<----8<----8<----8<----
<rimage>
  <layer>
    <load channel="image" file="/images/logo.jpg">
    <write channel="alpha" text="Foobar">
  </layer>
</rimage>
---->8---->8---->8---->8----


Thank you.


-- 
Bertrand LUPART

http://bertrand.gotpike.org/


__________________________________________________________
Deze e-mail en de inhoud is vertrouwelijk en uitsluitend bestemd voor de
geadresseerde(n). Indien u niet de geadresseerde bent van deze e-mail verzoeken
wij u dit direct door te geven aan de verzender door middel van een reply e-mail
en de ontvangen e-mail uit uw systemen te verwijderen. Als u geen geadresseerde
bent, is het niet toegestaan om kennis te nemen van de inhoud, deze te kopieren,
te verspreiden, bekend te maken aan derden noch anderszins te gebruiken.

The information contained in this e-mail is confidential and may be legally
privileged. It is intended solely for the addressee. If you are not the intended
recipient, any disclosure, copying, distribution or any action taken or omitted
to be taken in reliance on it, is prohibited and may be unlawful. Please notify
us immediately if you have received it in error by reply e-mail and then delete
this message from your system.
__________________________________________________________