How to specify the encoding of image in conversion

Post questions on how to use or achieve an effect in Inkscape.
ts.borisova
Posts: 2
Joined: Wed Oct 03, 2012 5:30 pm

How to specify the encoding of image in conversion

Postby ts.borisova » Wed Oct 03, 2012 5:35 pm

I am using Inkscape in web application and I use it with command line. I need to specify encoding of the new image. I have:
image.svg --export=image.png
I looked and I found that there is no --encode or something. Is there a way to tell to inkscape the encoding of the text in the png image?

v1nce
Posts: 696
Joined: Wed Jan 13, 2010 4:36 am

Re: How to specify the encoding of image in conversion

Postby v1nce » Thu Oct 04, 2012 5:25 am

Are you sure your problem is with "encoding" ? It looks like it's more a mimetype or DOCTYPE issue to me.

Your output will be an image, so I don't see the point in trying to set an encoding for output.
If your problem is with output format (you want jpg instead of png) you can pipe your result with your favorite image converter.

what are you trying to achieve exactly ? What's your workflow ?
can we see the image.svg ?

ts.borisova
Posts: 2
Joined: Wed Oct 03, 2012 5:30 pm

Re: How to specify the encoding of image in conversion

Postby ts.borisova » Sat Oct 06, 2012 4:21 am

One of my team mates told me to do simple test. I created empty svg document and wrote a text. Then I saved it and then I pasted in place of the text this:曅嶳攷擵 but the pasted was empty and I couldn't see this: 曅嶳攷擵. Now my question is - does someone knows why this is happening? If Inkscape doesn't support Japanese me and my team are ready to contribute and add support. :)


P.S.: I am sorry for my English.

User avatar
Xav
Posts: 1209
Joined: Fri May 08, 2009 1:18 am
Location: UK
Contact:

Re: How to specify the encoding of image in conversion

Postby Xav » Sun Oct 07, 2012 9:22 pm

I am able to paste that Japanese content into an Inkscape text object with no problems. It might simply be that the font you're using doesn't support those characters. I used Arial, so you might want to try with that as a first step.
Co-creator of The Greys and Monsters, Inked - Inkscape drawn webcomics
Web SiteFacebookTwitter


Return to “Help with using Inkscape”