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
 [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

Pull Requests

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: Sun Dec 22 06:01:30 2024 UTC