Search found 47 matches
- 2016-11-21T14:07:13-07:00
- Forum: Developers
- Topic: change image color in svg format and save to png or jpg
- Replies: 29
- Views: 45465
Re: change image color in svg format and save to png or jpg
Sorry sinbo but I do not undarstund what you mean by : "You are searching for a string that isn't in your SVG text". I am trying access class "cls-1" and change fill.that is all what I wanth, and I have "cls-1" in my new svg format. Can you pleas make simple code to cha...
- 2016-11-21T11:08:15-07:00
- Forum: Developers
- Topic: change image color in svg format and save to png or jpg
- Replies: 29
- Views: 45465
Re: change image color in svg format and save to png or jpg
this is new svg and new php code,it is simple code but still not working. Can you pls check what is problem? this is svg: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/...
- 2016-11-19T10:27:31-07:00
- Forum: Developers
- Topic: change image color in svg format and save to png or jpg
- Replies: 29
- Views: 45465
Re: change image color in svg format and save to png or jpg
any suggestion?
can somebody show me sample code how to change fill in svg pls.?
Thanks
can somebody show me sample code how to change fill in svg pls.?
Thanks
- 2016-11-18T10:01:56-07:00
- Forum: Developers
- Topic: change image color in svg format and save to png or jpg
- Replies: 29
- Views: 45465
Re: change image color in svg format and save to png or jpg
preg_replace not working what I wanth, I cange fill: to fill='?' but still not working, like this foreach($idColorArray as $state => $color){ //Where $color is a RRGGBB hex value $svg = preg_replace( '/id="'.$state.'" style="fill= #([0-9a-f]{6})/' , 'id="'.$state.'" style=&q...
- 2016-11-18T09:36:40-07:00
- Forum: Developers
- Topic: change image color in svg format and save to png or jpg
- Replies: 29
- Views: 45465
change image color in svg format and save to png or jpg
Hello, I am trying change some part of images in svg format and save as png or jpg but I just save format,without changing collors. can you help me pls, this is svg format: this is svg image: https://upload.wikimedia.org/wikipedia/commons/1/1a/Blank_US_Map_(states_only).svg and this is php cod: <?ph...
- 2016-11-17T16:15:36-07:00
- Forum: IMagick
- Topic: no decode delegate for this image format `' @ error/blob
- Replies: 43
- Views: 64965
Re: no decode delegate for this image format `' @ error/blob
yes, my mistake, Thanks bonzo
- 2016-11-15T09:50:52-07:00
- Forum: IMagick
- Topic: no decode delegate for this image format `' @ error/blob
- Replies: 43
- Views: 64965
Re: no decode delegate for this image format `' @ error/blob
I found problem!!
svg file text structure needs to be specified for readImageBlob to decode the file. Prepend <?xml version="1.0" encoding="UTF-8" standalone="no"?> to your variable having svg text.
svg file text structure needs to be specified for readImageBlob to decode the file. Prepend <?xml version="1.0" encoding="UTF-8" standalone="no"?> to your variable having svg text.
- 2016-11-14T16:36:06-07:00
- Forum: IMagick
- Topic: no decode delegate for this image format `' @ error/blob
- Replies: 43
- Views: 64965
Re: no decode delegate for this image format `' @ error/blob
I found this, and make change,but still not working
- 2016-11-14T10:15:00-07:00
- Forum: IMagick
- Topic: no decode delegate for this image format `' @ error/blob
- Replies: 43
- Views: 64965
Re: no decode delegate for this image format `' @ error/blob
Still I do not konw wher I can find delegates.xml file.
Do not show in wich directory
Do not show in wich directory
- 2016-11-09T09:36:51-07:00
- Forum: IMagick
- Topic: no decode delegate for this image format `' @ error/blob
- Replies: 43
- Views: 64965
Re: no decode delegate for this image format `' @ error/blob
can you just help me where I can find delegates.xml,
in which directory?
in which directory?
- 2016-11-08T17:29:36-07:00
- Forum: IMagick
- Topic: no decode delegate for this image format `' @ error/blob
- Replies: 43
- Views: 64965
Re: no decode delegate for this image format `' @ error/blob
I get this when I run 'convert -list format' : Format Module Mode Description -------------------------------------------------------------------------- 3FR DNG r-- Hasselblad CFV/H3D39II AAI* AAI rw+ AAI Dune image AI PDF rw- Adobe Illustrator CS2 ART* ART rw- PFS: 1st Publisher Clip Art ARW DNG r-...
- 2016-11-08T16:20:11-07:00
- Forum: IMagick
- Topic: no decode delegate for this image format `' @ error/blob
- Replies: 43
- Views: 64965
Re: no decode delegate for this image format `' @ error/blob
code is working for every format, svg is only problem now!!
The problem is that I was missing libxml2 and librsvg2-bin.
can you just help me how download and install this pls.
Thanks,
The problem is that I was missing libxml2 and librsvg2-bin.
can you just help me how download and install this pls.
Thanks,
- 2016-11-07T09:07:37-07:00
- Forum: IMagick
- Topic: no decode delegate for this image format `' @ error/blob
- Replies: 43
- Views: 64965
Re: no decode delegate for this image format `' @ error/blob
I told you twice:"I can convert svg to png or jpg in command window"!!
but ony in command window,BUT
I need convert it on php platform and when I try I get error:
"no decode delegate for this image format"
but ony in command window,BUT
I need convert it on php platform and when I try I get error:
"no decode delegate for this image format"
- 2016-11-06T14:01:54-07:00
- Forum: IMagick
- Topic: no decode delegate for this image format `' @ error/blob
- Replies: 43
- Views: 64965
Re: no decode delegate for this image format `' @ error/blob
yes I am , and I can convert svg to png or jpg in command window
- 2016-11-06T10:31:48-07:00
- Forum: IMagick
- Topic: no decode delegate for this image format `' @ error/blob
- Replies: 43
- Views: 64965
Re: no decode delegate for this image format `' @ error/blob
I can convert logo in command window, and I do not know why show me difference ,first time I get from command window: "bzlib cairo freetype jng jp2 jpeg Icms Igr lgr openxr pabgoca iro png ps tiff webp xml zlib" ,second timee when I try php code you sent, I get : "bzlib cairo freetype...