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?
How to specify the encoding of image in conversion
-
ts.borisova
- Posts: 2
- Joined: Wed Oct 03, 2012 5:30 pm
Re: How to specify the encoding of image in conversion
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 ?
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
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.
P.S.: I am sorry for my English.
Re: How to specify the encoding of image in conversion
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.
