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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: andries at e-mark dot nl
New email:
PHP Version: OS:

 

 [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 Mar 28 14:01:29 2024 UTC