You are here: Re: PNG maximum dimensions? « PHP Programming Language « IT news, forums, messages
Re: PNG maximum dimensions?

Posted by Richard on 11/14/07 22:23

Hi again,

assuming a square image, 1 image of 30000 pix would need around
30.000 * 30.000 / 1024 /1024 = 859 MB of memory to be displayed

A 24 bit = 2.7 GB of memory
A 32 bit = 3.6 GB

I am surprised that Photoshop can even open that...!
Can I ask what you need those images for? And how you manage to create them
in PHP?

R.



<gonzoduke85@gmail.com> wrote in message
news:1195049630.226601.299440@o80g2000hse.googlegroups.com...
> I've tested Firefox, Safari and IE on Windows.
>
> I guess I left out another detail, too. The app I use to create these
> images "fails" halfway through creation of the PNG files, but only if
> the length of the image is less than 16000px (the values could be
> higher, this is just where I arbitrarily decided to split the files
> into two. This app "failing" actually creates a perfect PNG image,
> but as mentioned in a previous post, is only viewable to me in Adobe
> PhotoShop. It's also worth noting that when the file is open in
> PhotoShop, it cannot be saved back into PNG format-only BMP and other
> less-desirable formats. The only way PhotoShop can save the file is
> to divide it into ~30,000px parts.
>
> I think you've answered my question with the maximum dimension being
> 32767. I'm just posting this bit to add to the discussion.
>
> Thanks for the help!
>
>
> On Nov 14, 2:17 am, Tim Roberts <t...@probo.com> wrote:
>>
>> How many web browsers have you tested, and on what platforms?
>>
>> The PNG format uses a 32-bit field to store the width and height, so
>> that's
>> not the problem. However, GDI in Windows uses signed 16-bit values in
>> some
>> cases for physical coordinates, which limits you to 32,767.
>> --
>> Tim Roberts, t...@probo.com
>> Providenza & Boekelheide, Inc.
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация