EPS file format isn't providing the right output #274
-
For our design department we created a QRCode generator in our CMS using Chillerlan/php-qrcode. We use PHP Version 7.4 with php-qrcode version 5.0.2. Now they were asking for the file format to be EPS, although it's an old file format and you could just use modern svg. I used the example provided in Eps.php. The problem is that our design can't open the generated qrcode.eps file in either Adobe Illustrator and InDesign. We have some qrcodes from other generators in EPS file format so I opened both files in an editor to compare them. I noticed that the generated qrcode.eps file from chillerlan/php-qrcode just contains a few lines of xml / html syntax while the qrcodes generated from other files in .eps look more like an actual .eps file. Is there a reason and solution to this? qrcode.eps (chillerlan): qrcode.eps (qrcode Monkey): |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
That is because the output isn't EPS but SVG, most likely because you're using an example from dev-main. See: https://github.com/chillerlan/php-qrcode?tab=readme-ov-file#documentation |
Beta Was this translation helpful? Give feedback.
That is because the output isn't EPS but SVG, most likely because you're using an example from dev-main. See: https://github.com/chillerlan/php-qrcode?tab=readme-ov-file#documentation