× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks for the reply. Here is the command we are using:

/QOpenSys/usr/local/bin/convert -compress none fromfile.png -set -units
PixelsPerInch -density 203 tofile.jpg

I'm downloading GIMP to look at the images.

Art

On Tue, Mar 14, 2017 at 2:32 PM, Hiebert, Chris <
chris.hiebert@xxxxxxxxxxxxxx> wrote:

Paint does something different to the jpeg header.
And Paint is able to open jpeg files that are not "strictly" windows jpegs
and then update the jpeg header to what it believes is correct.

What ghostscript command are you using to generate the jpeg image?

I've used this command to create a jpeg from a PDF file:

gs -dSAFER -dBATCH -dNOPAUSE -sDEVICE=jpeg -dTextAlphaBits=4
-dGraphicsAlphaBits=4 -r300 -sOutputFile=/filepath/outputfile.jpg
/filepath/filename.pdf

You could try to create the image with gs. Then open it with paint and
save it as a differing image.
Then try to open both images with "gimp" GNU Image Manipulation Program.
Then look at the image properties to see what is different.
That might clue you in as to what options you need to pass to gs to fix
the output.

Chris Hiebert
Senior Programmer/Analyst
Disclaimer: Any views or opinions presented are solely those of the author
and do not necessarily represent those of the company.


-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Jack Tucky
Sent: Friday, March 10, 2017 8:19 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: IBM says invalid Jpeg

I'm on 7.3. Trying to print some Jpeg's. IBM says yeah they dont print,
but if we open them in Paint and save them, they print fine.

So where do I go now? The Jpg's are converted from Png using Ghostscript.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.