LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-04-2015, 12:20 AM   #1
keirvt
Member
 
Registered: Sep 2006
Location: Sydney Australia
Distribution: fedora/Ubuntu
Posts: 156

Rep: Reputation: 18
PDF Colour loss on Windows


I have a PDF constructed using Imagemagick converting text to png overlaying onto a background and converting to PDF.

It renders perfectly on Linux using DocumentViewer or Adobe viewers showing a little red logo in the header - nice.

If I transfer the file to a Windows 7 the logo is in grey scale when viewed in Adobe Acrobat or any Adobe product.
This happens a number of Windows machines I have tried.

If I use Chrome or Windows 7 PDF viewer the colour renders okay.

I've looked through the Adobe settings and nothing seems to affect the lack of colour.

I tried converting a jpeg image to PDF transferring to Windows and viewing with adobe and the colour is good.

This is weird. does anyone know about such weird things?
 
Old 05-04-2015, 09:35 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
microsoft really dislikes opensource

png is fully open

xp HATED the png format ,it is not to surprising that the Adobe reader on 7 is only seeing grayscale


what version of libpng is installed on the win machines ?

i am betting a very random mix of multiple installs 11 through 16

but what is in C:\\WINDOWS\system32
 
Old 05-05-2015, 04:36 PM   #3
keirvt
Member
 
Registered: Sep 2006
Location: Sydney Australia
Distribution: fedora/Ubuntu
Posts: 156

Original Poster
Rep: Reputation: 18
pdf not png

Although a great fan of the png format, the mystery colour loss is with the PDF format.
On linux it renders as colour and also on Windows but not using Adobe.
Unfortunately many people will be viewing the pdf image on Windows using Adobe.

It would be great to be able to find why this is so and thus do business with the devil.
 
Old 05-05-2015, 06:11 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
that pdf has a png image in it
Quote:
constructed using Imagemagick converting text to png
and you stated that the JPG version did not turn gray

that pdf has an embedded png image in it

and seeing as SOME windows7 machines see the color and some do not

it is likely a libpng problem

like
you made the pdf using libpng16
but windows7 has libpng 11 or 12

Last edited by John VV; 05-05-2015 at 06:12 PM.
 
Old 05-05-2015, 11:54 PM   #5
keirvt
Member
 
Registered: Sep 2006
Location: Sydney Australia
Distribution: fedora/Ubuntu
Posts: 156

Original Poster
Rep: Reputation: 18
pdfs and png

Okay I didn't realise an image format was preserved in the PDF - I assumed it would be converted to some internal native format.

Even so the colour shows on a Windows machine for Chrome, Windows 7 PDFviewer and Firefox which infers that therere is a graphic library in there somewhere that recognises PNG format.

Unfortunately the world at large uses Adobe to view PDFs and Adobe doesn't show the colour.

I am doubtful the problem is because of the version of libpng but I may be wrong.
Please can you explain how I can find what version of libpng is on a Windows machine?
 
  


Reply

Tags
pdf


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] pdf reader which can set background colour cjzjm100 Linux - Software 2 12-13-2014 07:24 PM
convert PDF files into monochrome single colour other than black and white fabriberloco Linux - Software 2 02-01-2013 08:56 AM
Colour of all windows changed after updating azureus wilson15 Linux - General 2 08-29-2006 02:53 AM
Curses - Colour in terminal windows GrepKing Programming 0 01-29-2003 06:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration