[Info-vax] proper format for JPEG files
Michael Moroney
moroney at world.std.spaamtrap.com
Sat Jul 23 21:30:43 EDT 2011
=?ISO-8859-1?Q?Arne_Vajh=F8j?= <arne at vajhoej.dk> writes:
>On 7/23/2011 3:52 PM, Phillip Helbig---undress to reply wrote:
>> What is the "proper" format for JPEG files on VMS, in particular if they
>> are served by a web server and displayed in a web browser? I have some
>> which are
>>
>> Record format: Fixed length 512 byte records
>> Record attributes: None
>>
>> and some which are
>>
>> Record format: Stream_LF, maximum 0 bytes, longest 32767 bytes
>> Record attributes: Carriage return carriage control
>>
>> and both work. (The former were transferred via FTP from a Windows
>> system (sorry, I don't have a VMS machine with a DVD reader) and the
>> latter saved from the web via a web browser.)
>I am oldfashioned - I would use FIX512 for binary files.
I suppose it's theoretically possible for a large .jpg to have more than
32767 bytes between LF characters, in which case the Stream_LF format will
fail. Other than that, either is fine, although a purist may say the
LF is not used as a terminator and only the fixed version is correct.
More information about the Info-vax
mailing list