|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32113 imagejpeg() not writing all files sent to it
Submitted: 2005-02-25 20:26 UTC Modified: 2005-02-26 00:41 UTC
From: agruetz at helixdevelopment dot com Assigned:
Status: Closed Package: GD related
PHP Version: 4.3.10 OS: RH ES V 3.4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: agruetz at helixdevelopment dot com
New email:
PHP Version: OS:


 [2005-02-25 20:26 UTC] agruetz at helixdevelopment dot com

This shows what I am trying to do as you can see all images are jpegs but imagejpeg is not writing images 10 - 24 to the said path even though it does right images 1 - 9.

Anthony Gruetzmacher
Zend Certified Software Engineer

Reproduce code:
here are the urls to the source code:

This should cover everything you need.

Expected result:
I just want imagejpeg to write all files/path I send to it ie images 10 - 24.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-25 20:33 UTC] agruetz at helixdevelopment dot com does not seem to read for some reason. So I put it @ I am unsure why it does not read it is very strange maybe another unreleated issue? As it including into my code ok.

 [2005-02-25 23:47 UTC] agruetz at helixdevelopment dot com
OK the problem has been found but it still did some strange things and this fucntion may need to be audited. I was missing a .jpg file extension so it was not writing the file for 10 - 24 BUT it was writing them for the first 9 images even though they did not have the file extension. It was also returning 1 for true that the imagejpeg fucntion was working even though it was not creating the file without the .jpg file extention as it should have been. Even though my code was missing the .jpg for the file extension it still should have created the file as file_name with no extension.   Anyway hope this helps and I am not just wasting my time and yours.

Anthony Gruetzmacher
 [2005-02-26 00:41 UTC] agruetz at helixdevelopment dot com
Further investigation problem was server side not with the code or with php. Closing issue sorry to bother you all.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Sep 27 13:01:24 2023 UTC