Re: pngtopnm missing?

2012-05-10 Thread Phil Holmes
I'm sorry I still can't answer your exact question, but I can give some 
pointers.  pngtopnm is a standard image file format converter on unix boxes, 
and so I guess Lily assumes it's there for some of its operations, and it isn't 
on Windows.  Hence the error message.  

In my experiments, using --png with -dresolution=nnn gives exactly the same 
output as -dresolution=nnn/3 -danti-alias-factor=3 - so it appears not worth 
using the anti alias factor at all.  Accepting that you will never get an image 
file as good looking as PDF, since PDF scales, then something like lilypond 
--png -dresolution=900 should give you a better image than you need.


Phil Holmes


  - Original Message - 
  From: Chris Crossen 
  To: 'Phil Holmes' ; lilypond-user@gnu.org 
  Sent: Wednesday, May 09, 2012 9:54 PM
  Subject: RE: pngtopnm missing?


  That's what I tried first. It works, but the .PNG files don't look anywhere 
near as good as the PDFs. I was trying to get a good-looking .PNG file with the 
-danti-alias-factor=2 parameter.

   

  From: Phil Holmes [mailto:m...@philholmes.net] 
  Sent: Wednesday, May 09, 2012 0:46
  To: Chris Crossen; lilypond-user@gnu.org
  Subject: Re: pngtopnm missing?

   

  I don't know why this happens, but you can cure it simply by replacing all 
the other options you're using with -fpng:

   

  lilypond -fpng test.ly


  --
  Phil Holmes

   

   

- Original Message - 

From: Chris Crossen 

To: lilypond-user@gnu.org 

Sent: Tuesday, May 08, 2012 4:30 AM

Subject: pngtopnm missing?

 

I am trying to create a .png file from a LilyPond score. I am running 
Windows XP. I'm getting an error about pngtopnm. 

 

Is it part of LilyPond?  Should I have it as part of the install?

 

Below is my run output.

 

Thank you,

Chris Crossen

 

C:\ScoreWork\datalilypond -dbackend=eps -dno-gs-load-fonts 
-dinclude-eps-fonts -dresolution=96 -danti-alias-factor=2 --png test.ly

GNU LilyPond 2.14.2

Processing `test.ly'

Parsing...

Interpreting music... [8]

Preprocessing graphical objects...

Finding the ideal number of pages...

Fitting music on 1 page...

Drawing systems...

Layout output to `test.eps'...

Converting to PNG...'pngtopnm' is not recognized as an internal or external 
command,

operable program or batch file.

GS exited with status: 255   




___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: pngtopnm missing?

2012-05-10 Thread Chris Crossen
Thanks, Phil. I'll give that a try.

 

From: Phil Holmes [mailto:m...@philholmes.net] 
Sent: Thursday, May 10, 2012 9:04
To: Chris Crossen; lilypond-user@gnu.org
Subject: Re: pngtopnm missing?

 

I'm sorry I still can't answer your exact question, but I can give some
pointers.  pngtopnm is a standard image file format converter on unix boxes,
and so I guess Lily assumes it's there for some of its operations, and it
isn't on Windows.  Hence the error message.  

 

In my experiments, using --png with -dresolution=nnn gives exactly the same
output as -dresolution=nnn/3 -danti-alias-factor=3 - so it appears not worth
using the anti alias factor at all.  Accepting that you will never get an
image file as good looking as PDF, since PDF scales, then something like
lilypond --png -dresolution=900 should give you a better image than you
need.



Phil Holmes

 

 

- Original Message - 

From: Chris Crossen mailto:ch...@crossen.net  

To: 'Phil Holmes' mailto:m...@philholmes.net  ; lilypond-user@gnu.org 

Sent: Wednesday, May 09, 2012 9:54 PM

Subject: RE: pngtopnm missing?

 

That's what I tried first. It works, but the .PNG files don't look anywhere
near as good as the PDFs. I was trying to get a good-looking .PNG file with
the -danti-alias-factor=2 parameter.

 

From: Phil Holmes [mailto:m...@philholmes.net] 
Sent: Wednesday, May 09, 2012 0:46
To: Chris Crossen; lilypond-user@gnu.org
Subject: Re: pngtopnm missing?

 

I don't know why this happens, but you can cure it simply by replacing all
the other options you're using with -fpng:

 

lilypond -fpng test.ly


--
Phil Holmes

 

 

- Original Message - 

From: Chris Crossen mailto:ch...@crossen.net  

To: lilypond-user@gnu.org 

Sent: Tuesday, May 08, 2012 4:30 AM

Subject: pngtopnm missing?

 

I am trying to create a .png file from a LilyPond score. I am running
Windows XP. I'm getting an error about pngtopnm. 

 

Is it part of LilyPond?  Should I have it as part of the install?

 

Below is my run output.

 

Thank you,

Chris Crossen

 

C:\ScoreWork\datalilypond -dbackend=eps -dno-gs-load-fonts
-dinclude-eps-fonts -dresolution=96 -danti-alias-factor=2 --png test.ly

GNU LilyPond 2.14.2

Processing `test.ly'

Parsing...

Interpreting music... [8]

Preprocessing graphical objects...

Finding the ideal number of pages...

Fitting music on 1 page...

Drawing systems...

Layout output to `test.eps'...

Converting to PNG...'pngtopnm' is not recognized as an internal or external
command,

operable program or batch file.

GS exited with status: 255   


  _  


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: pngtopnm missing?

2012-05-10 Thread Jan Nieuwenhuizen
Phil Holmes writes:

 I'm sorry I still can't answer your exact question, but I can give some 
 pointers.  pngtopnm is a standard image file
 format converter on unix boxes, and so I guess Lily assumes it's there for 
 some of its operations, and it isn't on
 Windows.  Hence the error message. 

That may be a bug, possibly we should ship netpbm with the windows
binaries?

Jan

-- 
Jan Nieuwenhuizen jann...@gnu.org | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | AvatarĀ®  http://AvatarAcademy.nl  

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: pngtopnm missing?

2012-05-09 Thread Phil Holmes
I don't know why this happens, but you can cure it simply by replacing all the 
other options you're using with -fpng:

lilypond -fpng test.ly

--
Phil Holmes


  - Original Message - 
  From: Chris Crossen 
  To: lilypond-user@gnu.org 
  Sent: Tuesday, May 08, 2012 4:30 AM
  Subject: pngtopnm missing?


  I am trying to create a .png file from a LilyPond score. I am running Windows 
XP. I'm getting an error about pngtopnm. 

   

  Is it part of LilyPond?  Should I have it as part of the install?

   

  Below is my run output.

   

  Thank you,

  Chris Crossen

   

  C:\ScoreWork\datalilypond -dbackend=eps -dno-gs-load-fonts 
-dinclude-eps-fonts -dresolution=96 -danti-alias-factor=2 --png test.ly

  GNU LilyPond 2.14.2

  Processing `test.ly'

  Parsing...

  Interpreting music... [8]

  Preprocessing graphical objects...

  Finding the ideal number of pages...

  Fitting music on 1 page...

  Drawing systems...

  Layout output to `test.eps'...

  Converting to PNG...'pngtopnm' is not recognized as an internal or external 
command,

  operable program or batch file.

  GS exited with status: 255   



--


  ___
  lilypond-user mailing list
  lilypond-user@gnu.org
  https://lists.gnu.org/mailman/listinfo/lilypond-user
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: pngtopnm missing?

2012-05-09 Thread Chris Crossen
That's what I tried first. It works, but the .PNG files don't look anywhere
near as good as the PDFs. I was trying to get a good-looking .PNG file with
the -danti-alias-factor=2 parameter.

 

From: Phil Holmes [mailto:m...@philholmes.net] 
Sent: Wednesday, May 09, 2012 0:46
To: Chris Crossen; lilypond-user@gnu.org
Subject: Re: pngtopnm missing?

 

I don't know why this happens, but you can cure it simply by replacing all
the other options you're using with -fpng:

 

lilypond -fpng test.ly


--
Phil Holmes

 

 

- Original Message - 

From: Chris Crossen mailto:ch...@crossen.net  

To: lilypond-user@gnu.org 

Sent: Tuesday, May 08, 2012 4:30 AM

Subject: pngtopnm missing?

 

I am trying to create a .png file from a LilyPond score. I am running
Windows XP. I'm getting an error about pngtopnm. 

 

Is it part of LilyPond?  Should I have it as part of the install?

 

Below is my run output.

 

Thank you,

Chris Crossen

 

C:\ScoreWork\datalilypond -dbackend=eps -dno-gs-load-fonts
-dinclude-eps-fonts -dresolution=96 -danti-alias-factor=2 --png test.ly

GNU LilyPond 2.14.2

Processing `test.ly'

Parsing...

Interpreting music... [8]

Preprocessing graphical objects...

Finding the ideal number of pages...

Fitting music on 1 page...

Drawing systems...

Layout output to `test.eps'...

Converting to PNG...'pngtopnm' is not recognized as an internal or external
command,

operable program or batch file.

GS exited with status: 255   


  _  


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user