Search found 31 matches

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: 7360

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: 7360

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: 7360

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: 7360

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: 7360

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: 7360

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: 7360

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

It was the inkscape version! Thanks for that it is working now :)))
by hairykid
2020-01-08T13:34:01-07:00
Forum: Bugs
Topic: Embedded images in SVG are colour inverted when converted to PNG
Replies: 30
Views: 7360

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

"What format is preview-547830085-NHHgtJ" - This is SVG "Likewise on your output, there is no suffix" - Yes this is always PNG, is this important because if possible I would rather not have to add this, I'm working with an application that I didn't build and I don't know why this has been omitted, i...
by hairykid
2020-01-08T13:20:54-07:00
Forum: Bugs
Topic: Embedded images in SVG are colour inverted when converted to PNG
Replies: 30
Views: 7360

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

Ok, sorry for the multiple messages but i am still having issues. As I mentioned I can get things working locally but not on my server. Here are the specs Both using simple command- convert -verbose +antialias tobeconverted png:/converted.png Locally: (THIS WORKS) Version: ImageMagick 7.0.9-10 Q16 x...
by hairykid
2020-01-08T12:50:02-07:00
Forum: Bugs
Topic: Conversion of SVG image to PNG with text that includes an & adds extra space around ampersand
Replies: 13
Views: 8094

Re: Conversion of SVG image to PNG with text that includes an & adds extra space around ampersand

This seems to be now fixed in the latest version of 7.0.9-10 when not using msvg prefix. Thanks
by hairykid
2020-01-08T12:36:07-07:00
Forum: Bugs
Topic: Embedded images in SVG are colour inverted when converted to PNG
Replies: 30
Views: 7360

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

Ok I've done some testing, this was working locally where I have ImageMagick 7.0.9-10 installed, however on my server where we are using version 6.9.7-4 we are seeing this error with the command - convert +antialias /var/www/website/sites/default/files/tmp/preview-547830085-NHHgtJ png:/var/www/websi...
by hairykid
2020-01-08T12:28:18-07:00
Forum: Bugs
Topic: Embedded images in SVG are colour inverted when converted to PNG
Replies: 30
Views: 7360

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

I can confirm this works without the msvg: prefix in the convert command. I'm not sure however the contingencies involved with changing this in the application which I am working on and which I didn't develop, the ideal solution seems to be to get this to work with the msvg prefix but I will do some...
by hairykid
2020-01-08T12:19:29-07:00
Forum: Bugs
Topic: Embedded images in SVG are colour inverted when converted to PNG
Replies: 30
Views: 7360

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

I sorry for the delay on this, I haven't been well. I am providing a zip file here - https://easyupload.io/qeddt8 Which contains 3 files cmyk-image.jpg - this is linked to from the SVG image that we are converting and is a CMYK image tobeconverted - this is the svg image converted.png - the converte...
by hairykid
2019-12-12T01:55:30-07:00
Forum: Bugs
Topic: Embedded images in SVG are colour inverted when converted to PNG
Replies: 30
Views: 7360

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

Hi, could I please bounce this post to the top..

My client is reporting that this issue only occurs when using CMYK images, RGB images do not get inverted. Is there any way to help make progress on this issue? I can share a working link to observer this behavior if need be.
by hairykid
2019-05-29T23:10:11-07:00
Forum: Bugs
Topic: Conversion of SVG image to PNG with text that includes an & adds extra space around ampersand
Replies: 13
Views: 8094

Re: Conversion of SVG image to PNG with text that includes an & adds extra space around ampersand

As I said, this is not a simple case of me using command line but this is a application which is a few years old, and I'm unsure whether changing it to not use msvg would even be viable.