Page 1 of 1

Error when opening a JPEG composed with IM

Posted: 2007-03-26T01:26:30-07:00
by Lorenz
Hi,
I'm very new here, so please be patient with me :D

I've composed several (thousands) small jpeg files into one big jpeg file of 32768x32768 pixels. I've done this through a batch script that iteratively calls the 'montage -mode concatenate -tile etc...' command.
But it seems the resulting file has some problem as I can't open it with any of IMDisplay, nor Photoshop.
IMDisplay prompts me the following error:
IMDisplayDoc function [DoReadImage] reported an error
imdisplay.exe: Application transferred too few scanlines


Photoshop CS2 tells me:
Could not complete your request because of a problem parsing JPEG data

with Paint Shop Pro X I can get at least the following file info:
Image Format: JPEG
Version: 1
Compression: Huffman - Standard


The strange thing is that I can successfully do any preview of the image, both with ACDSee or even Win Explorer.

Is there anyone having a clue on where's the issue and if I can fix it somehow ?
Thank you
Lorenz

P.S. of course, the original jpeg files don't have the same problem

Re: Error when opening a JPEG composed with IM

Posted: 2007-03-28T02:51:14-07:00
by Lorenz
does anyone have an idea ?
I'd really want to fix that! :(

Lorenz

Re: Error when opening a JPEG composed with IM

Posted: 2007-03-28T08:48:24-07:00
by kammer
Hi,

I just wanted to support this question since I have a similiar problem.

I create a postscript file from MATLAB which could nicely be converted to JPEG with older IM versions.
But now I also get: Unsupported color conversion request when I try to view it with xv. IM itself can
display the file but I think there are colors missing - anyhow it doesn't look ok!
I figured out that I can get a JPEG which one can view using xv by using:

Code: Select all

convert -colors 16 input.ps output.jpg
but anyhow here also the JPEG doesn't look ok!

Any help is welcome!

Re: Error when opening a JPEG composed with IM

Posted: 2007-03-28T08:58:39-07:00
by kammer
I guess I got it :D - browsing through the other threads!

I found a similar problem for the PDF to JPEG conversation where the advice is to use:

Code: Select all

convert -colorspace RGB input.ps output.jpg
which works fine for me (quality is ok, can be viewed in xv)!

So try this out - and please post it if this fixes also your problem.