php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48107 Imagick with locales that use comma for decimal separator
Submitted: 2009-04-29 12:31 UTC Modified: 2009-04-30 08:28 UTC
From: andries at e-mark dot nl Assigned:
Status: Not a bug Package: *Graphics related
PHP Version: 5.2.9 OS: Debian 5.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
43 - 6 = ?
Subscribe to this entry?

 
 [2009-04-29 12:31 UTC] andries at e-mark dot nl
Description:
------------
Imagick does not play nice with locales that use comma as a decimal separator.

Reproduce code:
---------------
setlocale(LC_ALL, "nl_NL");
$im = new Imagick();
$im->newImage(200, 300, "white", "png");
$draw = new ImagickDraw();
$draw->line(1.1, 2.1, 5.1, 3.6);
$im->drawImage($draw);

Expected result:
----------------
A line.

Actual result:
--------------
Error: Non-conforming drawing primitive definition `,'

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-04-30 08:28 UTC] jani@php.net
This is not the right place to report bugs in PECL extensions. Report 
them at http://pecl.php.net/bugs/
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 17:01:29 2024 UTC