[Rollachan] [Futaba] [Burichan] - [Home] [Manage]
Watched Threads
hide   refresh

[Return]
Posting mode: Reply

Name
Email
Subject   (reply to 680)
Message
File 
Password  (for post and file deletion)
  • Supported file types are: GIF, JPG, PNG
  • Maximum file size allowed is 1000 KB.
  • Images greater than 200x200 pixels will be thumbnailed.
  • Currently 176 unique user posts.

  • File: 128287372640.jpg-(10.16KB, 991x30, Error.jpg)
    680 No. 680 watch
    I attempted to post an image of size 1,041,912 bytes (0.99 MB) and I received this error. It is a jpg image.
    >> No. 681
    I got a 1mb+ image to post in /b/. If you can recreate it let me know because I can not fix it if I can't make it happen.
    >> No. 682
    >>681
    It happens every time I try to post a specific image on /b/. I can email you the image if you want.
    >> No. 683
    just upload it to some sort of file host and post the link
    >> No. 684
    after looking at it I think you may get the same answer as in >>626
    I wouldn't be surprised if it was the same issue/picture. If I have the picture though I may be able to finally resolve it.
    >> No. 685
    >>684
    Different image, that one was 2.5mb. Here is a link to the image
    http://img715.imageshack.us/img715/7916/1267768014800.jpg

    Just FYI, the resolution is 3000 x 1944
    >> No. 686
    OK, I have located the problem and it does have something to do with the dimension. The code that was written uses a php function called imagecreatetruecolor. This function uses the maximum of memory allowed in our php.ini file. I could up it if I so desired but I am not really a fan of upping the memory usage and having our server hog up resources only to allow images to post. The memory is set to 32MB right now and I assume that would be enough for most images. I will look a little for, and if you find any, more efficient similart functions in PHP I would be willing to try them out and see if it fixes some of the problems but really it is sort of sounding like a limitation with the language/alloted memory usage.

    Resources:
    http://php.net/manual/en/function.imagecreatetruecolor.php
    http://www.graphic-forums.com/archive/index.php/t-2589.html
    >I had a similar problem myself. THe issue here is the function imagecreatetruecolor(); it uses alot of memory, and is not all that efficient. when editing a large image, the memory it uses is several orders of magnitude larger than the image itself for some reason.
    [Return]

    Delete Post []
    Password