T Vilaisakulyong wrote:
Hi,
I'm new to batik, and I have a problem that I would like some help with:
I'm creating a website that would let people download templates (svg
files) and place their own logo on to the templates itself. The
template would have two layers: one for background, and one for logo
placement.
When they finished placing logo on the template, they would save it,
and upload it to us. What I want to do is write a code that would let
me select the logo layer, crop out the logo itself (so the background
is transparent), and convert it to png file so that I can output some
preview.
Now, I have play around with uploading a test SVG file, crop it, and
convert the output to png with no problem using the transcoder. The
problem is, when I do the croping, it would crop both layer, therefore
I would have the logo with the black background behind it.
My question would be if I can use Batik to select that logo layer so
the final resulting output from cropped logo would have transparent
background. And if I can't select the logo layer, what utilities can I
use to make the background transparent?
Thanks in advance,
T
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
The link fo the testing SVG file in question is here:
http://people.bandmerch.com/staff/tvilaisakulyong/front_template_svg.svg
Thanks,
T
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]