Re: Cygwin 3.3.6: PHP's SplFileObject::fwrite seems broken

2022-10-01 Thread Ken Brown
On 10/2/2022 1:16 AM, Hans Henrik Bergan wrote: ... actually i forgot that the default fopen mode is "rb" [...] changing the code to SplFileObject("bug.txt", "rb"); makes the code work I don't think you wrote what you meant. You're not saying that explicitly specifying the default value cha

[ANNOUNCEMENT] Updated: extractpdfmark 1.1.1-1

2022-10-01 Thread Masamichi Hosoda
The following packages have been uploaded to the Cygwin distribution: * extractpdfmark-1.1.1-1 Extract PDFmark is able to extract page mode and named destinations as PDFmark from PDF. By using this you can get the small PDF files that have preserved the page mode and the named destinations. This

Re: Cygwin 3.3.6: PHP's SplFileObject::fwrite seems broken

2022-10-01 Thread Hans Henrik Bergan
... actually i forgot that the default fopen mode is "rb" ... anyhow, here is what's supposed to happen: $ touch bug.txt; chmod 0777 bug.txt; php -r '$o=new SplFileObject("bug.txt");var_dump($o->fwrite("test"));var_dump(error_get_last());' PHP Notice: SplFileObject::fwrite(): Write of 4 bytes fail

Cygwin 3.3.6: PHP's SplFileObject::fwrite seems broken

2022-10-01 Thread Hans Henrik Bergan
running PHP 7.3.7 in Cygwin 3.3.6, and SplFileObject::fwrite seems completely broken. to reproduce: $ touch bug.txt; chmod 0777 bug.txt; php -r '$o=new SplFileObject("bug.txt");var_dump($o->fwrite("test"));var_dump(error_get_last());' int(0) NULL so both fwrite() and error_get_last() failed to pic

Re: heic to jpg conversion

2022-10-01 Thread Andrey Repin
Greetings, ambrose huang! > I have Cygwin with imagemagick 7.0.10-27 and I installed libheif just in case. > But when I try to convert from heic to jpg I get the following error: > $ magick test.heic test.jpg > magick: no decode delegate for this image format `HEIC' @ > error/constitute.c/ReadI

Re: heic to jpg conversion

2022-10-01 Thread ambrose huang
Hello, I have Cygwin with imagemagick 7.0.10-27 and I installed libheif just in case. But when I try to convert from heic to jpg I get the following error: $ magick test.heic test.jpg magick: no decode delegate for this image format `HEIC' @ error/constitute.c/ReadImage/562. $ mogrify -format