Search found 39 matches

by hairykid
2020-05-14T00:10:16-07:00
Forum: Users
Topic: convert from svg to pdf size incorrect
Replies: 14
Views: 4327

Re: convert from svg to pdf size incorrect

Still prints as 3.4 x 3.25

I give up.

Thanks for your help but I need to find another solution, this project is driving me up the wall.
by hairykid
2020-05-12T23:27:16-07:00
Forum: Users
Topic: convert from svg to pdf size incorrect
Replies: 14
Views: 4327

Re: convert from svg to pdf size incorrect

Sure, thanks. So my spec Version: ImageMagick 7.0.9-14 Q16 x86_64 2020-01-08 Ubuntu 18.04 Then the command being used is - convert preview-640617540-fLJb3I -density 300 -resize 2598x2480 pdf:preview-1640217103-PtgKIh Both files are here - https://gofile.io/d/wYivCg I have added the file extension on...
by hairykid
2020-05-11T05:11:55-07:00
Forum: Users
Topic: convert from svg to pdf size incorrect
Replies: 14
Views: 4327

Re: convert from svg to pdf size incorrect

When I double the size something strange happens, it takes around 40 seconds to convert, and the command (which has doubled the original size I was using)

Code: Select all

convert preview-514774901-d4GCeK -compress jpeg -density 300 -resize 5196x4960 pdf:preview-841203687-s64sFe
Prints out at 6.81 x 6.5 inches
by hairykid
2020-05-11T05:00:32-07:00
Forum: Users
Topic: convert from svg to pdf size incorrect
Replies: 14
Views: 4327

Re: convert from svg to pdf size incorrect

Can't get this working at all, it is printing at the correct size with this command - convert msvg:preview-1040876306-v872ZX -compress jpeg -density 300 -resize 2598x2480 pdf:preview-146307873-oLnPNf However we had to stop using this and use inkscape instead because some linked CYMK images in the sv...
by hairykid
2020-05-01T05:30:10-07:00
Forum: Users
Topic: convert from svg to pdf size incorrect
Replies: 14
Views: 4327

Re: convert from svg to pdf size incorrect

Thanks, however the outcome is the same when using 2478 for the height. I have tried adding -extent but the error states convert: invalid argument for option '-resize': -extent @ error/convert.c/ConvertImageCommand/2607. I tried adding it directly after the -resize flag and also after the dimensions...
by hairykid
2020-05-01T04:40:21-07:00
Forum: Users
Topic: convert from svg to pdf size incorrect
Replies: 14
Views: 4327

Re: convert from svg to pdf size incorrect

Ok so upon playing around I can now get the desired size I need but it doesn't seem to match up with the dpi being used. Let me just make sure this is correct, i.e my calculations. For 220mm x 210mm first convert to inches 8.66 x 8.26 Then multiple by 300 which equals 2598 x 2178 When running the fo...
by hairykid
2020-05-01T04:19:39-07:00
Forum: Users
Topic: convert from svg to pdf size incorrect
Replies: 14
Views: 4327

Re: convert from svg to pdf size incorrect

Hi, thanks for the reply.

I tried resize rather than size but no change to the size being outputted. It wasn't a typo but this was working previously so it must have worked at some point?

I tried adding '-density 300' before the svg filename but this just timed out when I tried to run it.
by hairykid
2020-05-01T00:37:25-07:00
Forum: Users
Topic: convert from svg to pdf size incorrect
Replies: 14
Views: 4327

convert from svg to pdf size incorrect

Hi all, Having some issues with converting to PDF from SVG. I'm using - Version: ImageMagick 7.0.9-14 Q16 x86_64 2020-01-08 This was working before but has since stopped working corectly. The only thing I believe that has changed is we now use InkScape, although I could be wrong, I'm not 100% inscap...
by hairykid
2020-01-10T04:39:37-07:00
Forum: Bugs
Topic: Embedded images in SVG are colour inverted when converted to PNG
Replies: 30
Views: 17323

Re: Embedded images in SVG are colour inverted when converted to PNG

Tried posting on the inkscape forum but my thread was closed without any reason, don't think I broke any rules. It doesn't look hopeful, so I will need to parse the SVG to convert the URL to a server path. Thanks for any help, you can consider this issue closed unless the MSVG method can be fixed to...
by hairykid
2020-01-09T13:19:47-07:00
Forum: Bugs
Topic: Embedded images in SVG are colour inverted when converted to PNG
Replies: 30
Views: 17323

Re: Embedded images in SVG are colour inverted when converted to PNG

Thanks for confirming this isn't working. Feels like I'm playing wack a mole at the minute! If there isn't a fix for this, I think my idea above will be my only solution i.e. converting the URL to a server path, I'm also not sure if both the svg and the linked image need to be in the same folder, so...
by hairykid
2020-01-09T08:25:10-07:00
Forum: Bugs
Topic: Embedded images in SVG are colour inverted when converted to PNG
Replies: 30
Views: 17323

Re: Embedded images in SVG are colour inverted when converted to PNG

Here is an SVG image with an embedded CMYK jpg that uses a URL rather than a server path. I'm sure this will help with recreating the issue

https://easyupload.io/gsxygd
by hairykid
2020-01-08T17:54:08-07:00
Forum: Bugs
Topic: Embedded images in SVG are colour inverted when converted to PNG
Replies: 30
Views: 17323

Re: Embedded images in SVG are colour inverted when converted to PNG

That's true, I edited the SVG in my text editor to make the embedded CMYK image exist in the same directory, so that I didn't need to leave a URL in there, I didn't want to share the ip or url I was using on this server if I'm honest. Will provide an image tomorrow, it's getting late now. Thanks aga...
by hairykid
2020-01-08T15:44:02-07:00
Forum: Bugs
Topic: Embedded images in SVG are colour inverted when converted to PNG
Replies: 30
Views: 17323

Re: Embedded images in SVG are colour inverted when converted to PNG

Seems to be related to inkscape, I found this documentation of the issue on github - https://github.com/ImageMagick/ImageMagick/issues/779 The only way I can think to resolve this is to move the svg and any linked images into the same folder, and then parse the SVG to replace each linked images URL ...
by hairykid
2020-01-08T14:21:23-07:00
Forum: Bugs
Topic: Embedded images in SVG are colour inverted when converted to PNG
Replies: 30
Views: 17323

Re: Embedded images in SVG are colour inverted when converted to PNG

However, as is life, I have now found another issue, the image linked in the SVG now won't accept a URL, it will only work with a relative or absolute path
by hairykid
2020-01-08T13:55:17-07:00
Forum: Bugs
Topic: Embedded images in SVG are colour inverted when converted to PNG
Replies: 30
Views: 17323

Re: Embedded images in SVG are colour inverted when converted to PNG

It was the inkscape version! Thanks for that it is working now :)))