Re: JPG image size
- From: rrr7rrr@xxxxxxxxx
- Date: 2 May 2007 07:16:30 -0700
On May 2, 6:27 am, rrr7...@xxxxxxxxx wrote:
On May 1, 7:23 pm, "Wade Ward" <inva...@xxxxxxxxxxx> wrote:
<gary.l.sc...@xxxxxxxx> wrote in message
On May 1, 9:29 am, rrr7...@xxxxxxxxx wrote:
This Salford Fortran95 (3-4 years old version) program
integer*4 hinitsize, vinitsize, nb_colours, ier
call get_dib_size@(File, hinitsize, vinitsize, nb_colours, ier)
print*,' FileToOpen, hinitsize,vinitsize,nb_colours=',File(1:40),&
works fine with JPG and BMP files of smaller size but crashes when I
try to load 4000x2500 pixel image from 10 megapixel camera. Do you
experience the same behavior?
Thanks in advance
Just a guess, but older versions may have been designed only to handle
8-bit images max. GINO had that limitation back when 24/32-bit images
were fairly rare.
Are the files coming off your camera jpegs? I usually have to render an
image to make it .jpg
Furthermore, the files are *huge* and are going to trip your error clause
coming off the camera without rendering.
Camera spec claims images are in RAW and JPEG (EXIF 2.2) formats. Are
they 8 or more bits per color - no info about. Based on 20 MB per 10
megapixel RAW image it's 5.33 bytes per color which is kind of
strange for new crop of digital cameras. Looks like this RAW is
BUT YOU BOTH ARE RIGHT! After passing through Photoshop or any other
software and saving same file in the same JPEG format or huge size
BMP, the code reads these new files, works fine and does not crash up
to 35 megapixels
sorry, 5.33 *bits* per R,G or B color
- Prev by Date: Short-circuiting (was Re: I/O in PURE and ELEMENTAL procedures in Fortran 2008)
- Next by Date: Re: Bundling multiple objects into a single module?
- Previous by thread: Re: JPG image size
- Next by thread: Re: error with "if" !!!