Scribusoid

Author Topic: SVG rotated images issue  (Read 692 times)

DarioMendes

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
  • Scribus User
SVG rotated images issue
« on: October 14, 2016, 02:10:11 pm »
Hi guys,

I'm new with Scribus, developing a script (attachment 'svg2pdf') to convert from SVG to PDF running the script from a web application and when i use a SVG with rotated images they disappears from my final PDF (attachment 'pdfFromSvg'). After some tests, i realized that when using import vector in GUI scribus application, the images was moved and not rotated at all (attachment 'scribusGUI').
Does any one knows some way to resolved that problem ? I searched from similar problems and solutions, but i could not find any.
My SVG was created from Inkscape and it works fine when i opened there. The reason with i'm using Scribus instead of Inkscape its because the PDF generated from Inkscape has a bug in images adding black lines all around them and with Scribus i can export with CMYK colorspace.

I'm using Windows 8.1 with Scribus version 1.5.2.

Regards,
Dario Mendes

a.l.e

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1257
  • Karma: 18
    • the graphics lab
Re: SVG rotated images issue
« Reply #1 on: October 15, 2016, 11:19:34 am »
the svg you uploaded does indeed not import correctly into scribus.

this might or not be "normal".

it depends on what effects you applied to the image in inkscape.

the best is if you can post a simpler sample to the bug tracker(https://bugs.scribus.net) that shows the one problem (as an example a simple embedded image (a square?) that loads correctly and a copy of it with an effect applied that does not load correcty; in the same svg file)

DarioMendes

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
  • Scribus User
Re: SVG rotated images issue
« Reply #2 on: October 17, 2016, 07:49:44 pm »
Thanks for your help a.l.e,

I realized that this issue is only with images, when i import the SVG with a rectangle, for example, this will not happen.
I followed your advice to report the issue in bug tracker (https://bugs.scribus.net/view.php?id=14317) with a simple example of two images, one normal and another rotated.

Regards,
Dario Mendes
« Last Edit: October 18, 2016, 11:01:56 am by DarioMendes »

a.l.e

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1257
  • Karma: 18
    • the graphics lab
Re: SVG rotated images issue
« Reply #3 on: October 17, 2016, 07:55:58 pm »
thanks!

well done.

i've added a note to make it more clear, that the rectangles are image frames...

 

palmate