Hi,
After update Ghostscript the problem was solved to ".ai" file, but eps still with problem if I use shadow on file.
convert -background none -density 300 -colorspace sRGB teste-sombra-rgb.ai 2.png
The files:
teste-sombra-rgb.ai
teste-sombra-cmyk.ai
teste-sombra-cmyk copiar.eps
teste ...
Search found 6 matches
- 2017-11-07T12:19:37-07:00
- Forum: IMagick
- Topic: .AI CMYK transparency error
- Replies: 10
- Views: 28819
- 2017-10-06T10:51:04-07:00
- Forum: IMagick
- Topic: .AI CMYK transparency error
- Replies: 10
- Views: 28819
Re: .AI CMYK transparency error
The command work's fine as expected, the problem is the PHP code.fmw42 wrote: 2017-10-05T15:07:50-07:00 This command line works fine for me.
You just need to find the equivalent Imagick commands and do them in the same order as in my command.Code: Select all
convert -colorspace sRGB -background none logo-teste.ai test.png
- 2017-10-05T10:59:56-07:00
- Forum: IMagick
- Topic: .AI CMYK transparency error
- Replies: 10
- Views: 28819
Re: .AI CMYK transparency error
I saved a file by Adobe Illustrator and zipped it: https://www.dropbox.com/s/qrzx51g8tfrn5 ... i.zip?dl=0
- 2017-10-05T10:18:34-07:00
- Forum: IMagick
- Topic: .AI CMYK transparency error
- Replies: 10
- Views: 28819
Re: .AI CMYK transparency error
I don't know how exactly that format works, but here has another .ai example: https://1drv.ms/u/s!AmISJy6AbeQ7hPIziQPfQ2dyL2XYeg
- 2017-10-05T06:56:24-07:00
- Forum: IMagick
- Topic: .AI CMYK transparency error
- Replies: 10
- Views: 28819
Re: .AI CMYK transparency error
I used this option before, I tried again and the result:
CODE:
// read page 1
$im = new \Imagick();
$im->readImage($file1);
$im->setImageBackgroundColor(new \ImagickPixel('transparent'));
$im->setBackgroundColor(new \ImagickPixel('transparent'));
$im->setColorspace(\Imagick::COLORSPACE_SRGB);
$im ...
CODE:
// read page 1
$im = new \Imagick();
$im->readImage($file1);
$im->setImageBackgroundColor(new \ImagickPixel('transparent'));
$im->setBackgroundColor(new \ImagickPixel('transparent'));
$im->setColorspace(\Imagick::COLORSPACE_SRGB);
$im ...
- 2017-10-05T05:00:39-07:00
- Forum: IMagick
- Topic: .AI CMYK transparency error
- Replies: 10
- Views: 28819
.AI CMYK transparency error
Hi guys,
I'm trying to do:
Convert a .AI file in a .PNG file;
Merge a .AI file with a PNG file;
In both cases the transparency isn't available, but when I use the convert command the error doesn't appear.
PHP CODE:
$file1 = 'a.ai';
$out = 'c.png';
// read page 1
$im = new \Imagick();
$im ...
I'm trying to do:
Convert a .AI file in a .PNG file;
Merge a .AI file with a PNG file;
In both cases the transparency isn't available, but when I use the convert command the error doesn't appear.
PHP CODE:
$file1 = 'a.ai';
$out = 'c.png';
// read page 1
$im = new \Imagick();
$im ...