--
regards,
|\ /|
| \/ |@rk
\../
\/os
mccm dot vos at hccnet dot nl
URL http://home.hccnet.nl/mccm.vos/
ICQ 326628
JPEG indeed has many variations, but PSP can open all the common
ones. These may well be other formats misnamed with the jpg
extension, as you suspect. IrfanView is good at examining the file
itself. It often reports, for example "jpg file has the gif
extension. Rename it?" Of course it cannot be renamed on the CD, but
IrfanView displays it. http://www.irfanview.com
--
Fred Hiltz, fhiltz at yahoo dot com
I DLed InfranView and tried to open a troublesome file. Result: 'Can't read
file header. Unknown format'.
So I searched under 'header' in the help file and found:
---
Dicom/ACR
Dicom/ACR file format for medical images.
Note: DICOM/ACR format hasn't a specific header and IrfanView can't
recognize all such images. If you want to read Dicom/ACR images with
IrfanView the file extension MUST BE ".dcm" or ".acr".
---
So I DLed the plugins, changed the file extension to respectively dcm and
acr. Result: decode error.
I suppose I'll have to give up...
I just had the same problem.
I sent one of my images to tech support, of the software program that I was
using, and
their response was this ... "it looks like this photo has been designated as
a "progressive-scan"
image, which is not supported by all software." They implemented a fix for
it.
What I had to do until they had done this was open up each .jpg file in PSP
(or any other
viewing software) and re-save as .jpg file. That worked for all of them
that were not
recognized at valid .jpg's.
But opening the file was the very problem. It can't be opened by any graphic
program, exept by TextPad (as text or binary file). But I haven't a clue
what to change there, since I'm not a programmer.
>I DLed InfranView and tried to open a troublesome file. Result: 'Can't read
>file header. Unknown format'.
Have you tried XnView
http://www.xnview.com/
it can open a lot more formats then IrfanView
So give it a try,
if you have not tried it before.
/CoMa
--
Conny (CoMa) Magnusson
hubb...@algonet.se
http://www.algonet.se/~hubbabub/
ICQ : 1351964
=============================
May you be bathed in the light of a rainbow.
Thank you for the reminder, Conny. I had forgotten all about this
great rescue tool. Pierre has brought it along well since I last
looked.
Afraid it didn't work: "Format could not be determined".
Post one in -> news:alt.binaries.paint-shop-pro and I'll tell you what
it is and/or what is wrong with it.
Uni
There really is no jpeg file format. JPEG stands for the Joint
Photographic Experts Group which developed a system for compressing
images which became an International ISO standard. This JPEG compression
is used in a number of file formats which all use the .jpeg or .jpg file
extension. The most common version of this is the JFIF JPEG format that
was developed by the Independent Jpeg Group as a way of storing a single
image with jpeg compression. The image file consists of 2 parts. The
second part contains the image information and the first part (called
the header) contains all sorts of information that identifies the file
and other information related to how the file was compressed. There can
be a lot more stuff put into this header though and some software packs
all sort of extra stuff in there (Photoshop and Macintosh formats
particularly). This extra header information regularly confuses other
software trying to read the image.
The best way I have found to fix this is to use the freeware program JPG
Cleaner ( http://www.rainbow-software.org/programs.html#JPG%20Cleaner )
which strips out the extra information and rewrites the header as a
standard minimal JFIF header. It doesn't decompress and recompress the
picture information so there is no change to that part of the file. As
well as making the image readable by any software it also reduces the
file size. A tiny little jpeg with a 10k file size can easily contain an
extra 50 or 60 kB of thumbnails, exif and colour profile information. A
web page containing 10 files like that can take up 500kB of unnecessary
extra room and take a dial up user 2 or 3 minutes to load rather than 10
or 20 seconds.
--
Tim
Thanks, but I'm afraid it seems that group isn't carried by my newsserver
:-(
Is there any other way I can upload a sample to you? (attachment, FTP, HTML)
I DLed the app. gave it a go but to no success. I saved the log:
-------------------
JPGCLN95 - JPG Cleaner 95 v2.6
Copyright (c) 2002 Rainbow Software (http://rainbow.ht.st)
Special thanks to PiT.
Processing 0009071Z...Unknown header
Processed 1 file(s), 0 of them cleaned, 1 error(s).
Cleaned total of 0 byte(s) in 0:00:00.
-------------------
> I DLed the app. gave it a go but to no success. I saved the log:
Assuming you know a little about running stuff from a DOS shell, try
ImageMagick (www.imagemagick.org) and use the identify command to see what
it makes of the file.
identify should use the contents of the file itself to work out the
format, rather than using the file extension.
I can't remember if the Windows version of ImageMagick comes with a
graphical front-end too or not; it may well do.
If identify knows what format the file's in then the convert command will
convert it to whatever format's easier for you to handle.
cheers
Jules
If you want to loose your time...
Upload it to Webshots (www.webshots.com) and lets see this unidiot responds
with his "knowledge".
I'd rather save my time, money and effort.
Antonio
Any newsgroup will do.
Try this first: In Irfanview: File > Open in HEX Viewer
Then tell me what the lines read to the far right.
For example, PSP-7's .tmp files read "PSP Undo Buffer".
Uni
When your able to spell a few consecutive words, without spelling
errors, wake me up, Trev.
:-)
Uni
Oh, you mean you should have purchased Photoshop Elements to edit your
Barbie digital camera photos?
:-)
Uni
>
> Antonio
>
Or if you don't have a hex viewer, open it in Wordpad. A jpeg will have
JFIF as the 7th to 10th characters for instance, but this is probably
not what you have or something you've tried would open them. If you
copied the first dozen lines and posted them here it might give some
clue.
--
Tim
Maybe things have changed, but years back, text editors would truncate a
binary file, as soon as they hit a EOF (End Of File) marker.
Uni
Ctrl+Z, if I remember correctly.
Uni
*you're
HTH
Now that I didn't think of this before... I have posted several problem JPG
files (I have more!) on a web page.
URL http://home.hccnet.nl/mccm.vos/
Originally they where in a folder of an art CD, together with other valid(!)
JPG files.
NB If you want to mail: my e-mail 'from' addres is invalid (antispam) - use
the one in my sign.
Thanks for investigating.
--
|\ /|
| \/ |@rk
\../
\/os
mccm dot vos at hccnet dot nl
URL http://home.hccnet.nl/mccm.vos/
ICQ 326628
"Matthew Hale" <webm...@hopefortomorrowmusic.com> schreef in bericht
news:3PDid.355262$MQ5.313588@attbi_s52...
> Now that I didn't think of this before... I have posted several problem JPG
> files (I have more!) on a web page.
> URL http://home.hccnet.nl/mccm.vos/
OK, looking at those in a hex editor, they don't look like anything I've
seen before. The three I tried at random all have e5c2e5fa as a common
string at the start of the file, and 'rspinolmbc' a little way in. Latter
is likely just garbage as an ASCII string though and not meaningful.
Curiously, the files *end* with the *filename* in the data. That doesn't
seem logical at all for an image file (even if the original filename was
stored in the image say, all the formats I know of would place it at the
start in some form of header section). That makes this look more like a
file describing another image file (rather than an image file itself) or
some form of archive (it's not zip or tar, nor is the file gzip or Unix
compressed)
Tried the usual 'raw' formats (RGB, YUV, CMYK etc.) and there doesn't look
to be any straight raw pixel data in there, so if it is an image format
then it's compressed in some way (RLE, Z-lib etc.)
Possible that these all came off a digital camera and the broken files are
something internal to the camera and not intended to be image files at all?
Ya got me... I have no idea :/
cheers
Jules
Of course we are! Nothing wrong with a little competition. It will get
your problem solved faster. Although, after Jules intelligent sounding post
didn't end in success, all hope may be lost...
Fight? Life as usual here.
:-)
>
> Now that I didn't think of this before... I have posted several problem JPG
> files (I have more!) on a web page.
> URL http://home.hccnet.nl/mccm.vos/
> Originally they where in a folder of an art CD, together with other valid(!)
> JPG files.
>
> NB If you want to mail: my e-mail 'from' addres is invalid (antispam) - use
> the one in my sign.
>
>
> Thanks for investigating.
Hmmmm... looks interesting. We must find what file format saves the
filename as a last entry followed by (2) null bytes.
Uni
You're what? Goofy?
:-)
Uni
We can rule out that it is not a JPEG file, since there are no "JFIF"
terminated strings.
Uni
Even if a file format saves the filename as the last thing, why would it put
it in as a .jpg when it's not? I don't think we're going to figure this out
unless we get extremely lucky and it may be years from now.
Possibly, renamed in error or purposely renamed just to fill the CD.
I don't think we're going to figure this out
> unless we get extremely lucky and it may be years from now.
So, what's the rush?
:-)
Uni
I don't me the filename itself being .jpg, I mean the last entry in the file
being .jpg.
Yes, that is an oddity. However, I did notice, after about (4) identical
header bytes, there's a "P/S/" signature that is common. It MAY be a
file format that isn't documented. I may never find out what it is, but
I am determined and don't give up easily.
Uni
That must make you Donald :-P
Donald Trump? Well, I may be an overpaid Professional Engineer, but I'm
nowhere's near Mr. Trump's income.......... yet.
:-)
Uni
--
regards,
|\ /|
| \/ |@rk
\../
\/os
mccm dot vos at hccnet dot nl
URL http://home.hccnet.nl/mccm.vos/
ICQ 326628
"Linea Recta" <mccm...@abc.net> schreef in bericht
news:2usc89F...@uni-berlin.de...
> I was trying to copy some images from a directory in an art CD. All images
> were files with JPG extension.
> The problem is that some of these were OK, but there also were many JPG
> files which are not recognised as valid JPG format. (I had the same
problem
> with ThumbsPlus, so it might not be a PSP fault.)
> But my question: how many JPG (sub)formats are there anyway and are there
> any suggestions how to deal with these files to make them useable?
>
>
>
> --
> regards,
Hurray! Don't keep your audience in suspense. What was it? And
please give credit to the smart internet user.
--
Fred Hiltz, fhiltz at yahoo dot com
Below is what I received from Frank Ledwon in news.cerious.com.advanced
---------------------------------------------
Linea Recta wrote:
> The problem is that some of these were OK, but there also were many JPG
> files which are not recognised as valid JPG format.
Perhaps the unrecognised files are encrypted for legal reasons (copy
protection).
Sample file:
| 00000000 E5 C2 E5 FA 1A 0A 50 5C 53 5C 1A 1B 18 1B 1A 98
åÂåú..P\S\.....˜
| 00000010 1A 98 1A 1A E5 F7 03 C6 4A 72 75 6E 75 69 72 75
.˜..å÷.ÆJrunuiru
| 00000020 6A 3A 29 34 2A 1A 22 58 53 57 19 F7 1A 1A 1A 1A
j:)4*."XSW.÷....
It seems to be a XOR encryption scheme: 'P\S\' looks like JFIF' and
any bet: 'Jrunuiruj' translates to 'Photoshop' ;-)
The first four bytes in a JFIF file should be:
FF D8 FF E0
The first four bytes in the encrypted files are:
E5 C2 E5 FA
FF 11111111
E5 11100101
Key 00011010
D8 11011000
C2 11000010
Key 00011010
FF 11111111
E5 11100101
Key 00011010
E0 11100000
FA 11111010
Key 00011010
Bingo: One simple 8-bit key (00011010 = 1AH) ;-)
BTW, the sample file names ends with the letter 'z'. Control code ^Z
is 1AH, IIRC ;-)
Decrypted file (using '8-bit XOR 1AH' decryption):
| 00000000 FF D8 FF E0 00 10 4A 46 49 46 00 01 02 01 00 82
ÿØÿà..JFIF.....‚
| 00000010 00 82 00 00 FF ED 19 DC 50 68 6F 74 6F 73 68 6F
.‚..ÿí.ÜPhotosho
| 00000020 70 20 33 2E 30 00 38 42 49 4D 03 ED 00 00 00 00 p
3.0.8BIM.í....
Braindead copy protection scheme.
> any suggestions how to deal with these files to make them useable?
You've got mail!
HTH
Frank