Re: Cropped output

2023-07-23 Thread Henrik Frisk
eprocessing graphical objects... >> Calculating line breaks... >> Drawing systems... >> Converting to `test6.pdf'... >> Success: compilation successfully completed >> >> Test6.pdf is a regular pdf. >> >> >> >> >> You should also find a s

Re: Cropped output

2023-07-21 Thread Hans Aikema
uccessfully completed Test6.pdf is a regular pdf.You should also find a separate file Test6.cropped.pdf with cropped output.If you don't: do you have any ly:set-option calls or such in the file?No, I didn't, but I identified the problem. I also had \include "lilypond-book-preamble.ly&q

Re: Cropped output

2023-07-21 Thread Hans Aikema
You should also find a separate file Test6.cropped.pdf with cropped output.If you don't: do you have any ly:set-option calls or such in the file?No, I didn't, but I identified the problem. I also had \include "lilypond-book-preamble.ly" as this was the old way of getting a crop

Re: Cropped output

2023-07-21 Thread Henrik Frisk
st6.pdf is a regular pdf. > > > > > You should also find a separate file Test6.cropped.pdf with cropped output. > > If you don't: do you have any ly:set-option calls or such in the file? > > No, I didn't, but I identified the problem. I also had \include "lil

Re: Cropped output

2023-07-20 Thread Jean Abou Samra
' > Parsing... > Interpreting music... > Preprocessing graphical objects... > Calculating line breaks... > Drawing systems... > Converting to `test6.pdf'... > Success: compilation successfully completed > > Test6.pdf is a regular pdf. You should also find a separate fi

Re: Cropped output

2023-07-20 Thread Henrik Frisk
> Hi, > > I know that this is an old question but I'm seeing some strange behavior. > On Mac OS none of the suggested alternatives appear to work though it did > on Linux. The only way I can seem to get a cropped output is to output an > EPS file. > > What tools does t

Re: Cropped output

2023-07-20 Thread Jean Abou Samra
Le jeudi 20 juillet 2023 à 15:55 +0200, Henrik Frisk a écrit : > Hi, > > I know that this is an old question but I'm seeing some strange behavior. On > Mac OS none of the suggested alternatives appear to work though it did on > Linux. The only way I can seem to get a cropped

Cropped output

2023-07-20 Thread Henrik Frisk
Hi, I know that this is an old question but I'm seeing some strange behavior. On Mac OS none of the suggested alternatives appear to work though it did on Linux. The only way I can seem to get a cropped output is to output an EPS file. What tools does the cli option -dcrop='#t'

Re: Change scale of SVG cropped output (safe mode)

2022-07-26 Thread Jean Abou Samra
> Le 26 juil. 2022 à 23:00, Jean Abou Samra a écrit : > >  > >> Le 26 juil. 2022 à 21:52, Jean Abou Samra a écrit : >> >>  >> Le 26 juil. 2022 à 20:34, William Rehwinkel a écrit : >>> >>> Hey everybody, >>> >>> For an application I'm working on, I have lilypond outputting

Re: Change scale of SVG cropped output (safe mode)

2022-07-26 Thread Jean Abou Samra
> Le 26 juil. 2022 à 21:52, Jean Abou Samra a écrit : > >  > >> Le 26 juil. 2022 à 20:34, William Rehwinkel a >> écrit : >> >> Hey everybody, >> >> For an application I'm working on, I have lilypond outputting cropped SVG >> incipits for user-inputted text, with safe mode enabled. Alth

Re: Change scale of SVG cropped output (safe mode)

2022-07-26 Thread Jean Abou Samra
> Le 26 juil. 2022 à 20:34, William Rehwinkel a > écrit : > > Hey everybody, > > For an application I'm working on, I have lilypond outputting cropped SVG > incipits for user-inputted text, with safe mode enabled. Although everything > is working for now, the output is a little large and

Change scale of SVG cropped output (safe mode)

2022-07-26 Thread William Rehwinkel
Hey everybody, For an application I'm working on, I have lilypond outputting cropped SVG incipits for user-inputted text, with safe mode enabled. Although everything is working for now, the output is a little large and I would like to scale down the score if possible. Before now, I used crop

Re: Cropped output (à la -dpreview) possiblein Finale and Sibelius

2013-04-10 Thread Phil Holmes
- Original Message - From: "Francisco Vila" To: "Phil Holmes" Cc: "LilyPond-User list" ; "David Kastrup" Sent: Wednesday, April 10, 2013 8:20 AM Subject: Re: Cropped output (à la -dpreview) possiblein Finale and Sibelius 2013/4/9 Phil Ho

Re: Cropped output (à la -dpreview) possible in Finale and Sibelius

2013-04-10 Thread David Kastrup
Carl Peterson writes: > On Tue, Apr 9, 2013 at 4:45 PM, David Kastrup wrote: > > Carl Peterson writes: > > > I'm not an expert on GhostScript, but in practice it is nearly > always > > best to rasterize vector graphics at the intended output > resolution. > >

Re: Cropped output (à la -dpreview) possible in Finale and Sibelius

2013-04-10 Thread Carl Peterson
On Tue, Apr 9, 2013 at 4:45 PM, David Kastrup wrote: > Carl Peterson writes: > > > I'm not an expert on GhostScript, but in practice it is nearly always > > best to rasterize vector graphics at the intended output resolution. > > Except when it isn't. What makes you think that the PDF viewers a

Re: Cropped output (à la -dpreview) possiblein Finale and Sibelius

2013-04-10 Thread Francisco Vila
2013/4/10 Francisco Vila : > It must have been downsampled at some stage. I see stairs at 100% (1:1 > to screen) Hm, probably I should see stairs in either case because pixels of my screen are bigger than cone cells of my retina, so to speak, but now I think I see them because the image is pure b/

Re: Cropped output (à la -dpreview) possiblein Finale and Sibelius

2013-04-10 Thread Francisco Vila
2013/4/9 Phil Holmes : > I commented in an earlier message that Sibelius, IMHO, produces witheringly > appalling graphics output. Unaliased, with stems that attach to noteheads > poorly. The image I attached earlier was not scanned, but used Sibelius's > export to PNG function at nominal 300 dpi.

Re: Cropped output (à la -dpreview) possible in Finale and Sibelius

2013-04-09 Thread Urs Liska
On Tue, 9 Apr 2013 21:50:59 +0100 "Phil Holmes" wrote: > - Original Message - > From: "Urs Liska" > To: > Sent: Tuesday, April 09, 2013 9:05 PM > Subject: Re: Cropped output (à la -dpreview) possible in Finale and Sibelius > > > > Am 09

Re: Cropped output (à la -dpreview) possiblein Finale and Sibelius

2013-04-09 Thread David Kastrup
"Phil Holmes" writes: > I commented in an earlier message that Sibelius, IMHO, produces > witheringly appalling graphics output. Unaliased, At high resolution (print or Epaper) this is a defensible decision for getting high-contrast output. But the rendition is still appallingly bad given the

Re: Cropped output (à la -dpreview) possible in Finale and Sibelius

2013-04-09 Thread David Kastrup
Carl Peterson writes: > I'm not an expert on GhostScript, but in practice it is nearly always > best to rasterize vector graphics at the intended output resolution. Except when it isn't. What makes you think that the PDF viewers are doing anything but rasterizing vector graphics at the intended

Re: Cropped output (à la -dpreview) possible in Finale and Sibelius

2013-04-09 Thread Urs Liska
Am 09.04.2013 18:26, schrieb Urs Liska: I never used Sibelius, and the last version of Finale I actually worked with was 2001. Therefore I'd like to ask here before writing something inappropriately negative about them ;-) Is it possible to output cropped output in .png or .pdf format

Re: Cropped output (à la -dpreview) possiblein Finale and Sibelius

2013-04-09 Thread Phil Holmes
- Original Message - From: "David Kastrup" To: Sent: Tuesday, April 09, 2013 6:49 PM Subject: Re: Cropped output (à la -dpreview) possiblein Finale and Sibelius Urs Liska writes: It seems this is Sibelius 7's default. See attached PNG. Huh? The per

Re: Cropped output (à la -dpreview) possible in Finale and Sibelius

2013-04-09 Thread Carl Peterson
I'm not an expert on GhostScript, but in practice it is nearly always best to rasterize vector graphics at the intended output resolution. The issue is how that graphic is downsampled. For example, if I rasterize a two-pixel wide black vertical line down to half the resolution, depending on where t

Re: Cropped output (à la -dpreview) possible in Finale and Sibelius

2013-04-09 Thread Werner LEMBERG
> As far as what can be controlled by Lilypond and it's developers, > making sure PNG files are generated well *is* something that should > be addressed, since that is completely within Lilypond's control. Does GhostScript's PNG backend produces satisfying results? Otherwise, what about creating

Re: Cropped output (à la -dpreview) possible in Finale and Sibelius

2013-04-09 Thread Alexander Kobel
On 04/09/2013 08:47 PM, Alexander Kobel wrote: [...] Besides, rectangles bound /regions,/ and I see a valid point in not willfully changing regions or areas. For lines, it's slightly more likely that the designer intended the object to be a line than for rectangles. [...] By the way: I stumble

Re: Cropped output (à la -dpreview) possible in Finale and Sibelius

2013-04-09 Thread David Kastrup
Alexander Kobel writes: > On 04/09/2013 08:26 PM, Janek Warchoł wrote: >> 2013/4/9 Werner LEMBERG: >>> It's a very hard problem and probably not solvable. >>> >>> Ah, I misread, sorry. Yes, it might be worth to test with line >>> strokes. >> >> I find it most interesting that apparently the

Re: Cropped output (à la -dpreview) possible in Finale and Sibelius

2013-04-09 Thread Alexander Kobel
On 04/09/2013 08:26 PM, Janek Warchoł wrote: 2013/4/9 Werner LEMBERG: It's a very hard problem and probably not solvable. Ah, I misread, sorry. Yes, it might be worth to test with line strokes. I find it most interesting that apparently there is some way to solve this problem. If line st

Re: Cropped output (à la -dpreview) possible in Finale and Sibelius

2013-04-09 Thread Carl Peterson
The problem is that how a Lily output is rendered by a PDF reader is not within the realm of control for Lilypond. The fact is that some PDF features are handled differently by different viewers, if they are handled at all. For example, in my graphic design work, I learned that transparency is a bi

Re: Cropped output (à la -dpreview) possible in Finale and Sibelius

2013-04-09 Thread Janek Warchoł
2013/4/9 David Kastrup : > Janek Warchoł writes: > >> 2013/4/9 David Kastrup : >>> Urs Liska writes: >>> It seems this is Sibelius 7's default. See attached PNG. >>> >>> Huh? The perfectly rendered stafflines make it clear that this is not a >>> scanned image. But clef, noteheads and t

Re: Cropped output (à la -dpreview) possible in Finale and Sibelius

2013-04-09 Thread Werner LEMBERG
> It's a very hard problem and probably not solvable. Ah, I misread, sorry. Yes, it might be worth to test with line strokes. Werner ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Cropped output (à la -dpreview) possible in Finale and Sibelius

2013-04-09 Thread Werner LEMBERG
> Have you seen > http://code.google.com/p/lilypond/issues/detail?id=2658 ? *That's* > appalling - and it's how LilyPond output is rendered :( :( :( (image > attached) It's sad that there are no comments on this issue after 9 > months :( It's a very hard problem and probably not solvable. Essen

Re: Cropped output (à la -dpreview) possible in Finale and Sibelius

2013-04-09 Thread David Kastrup
Janek Warchoł writes: > 2013/4/9 David Kastrup : >> Urs Liska writes: >> >>> It seems this is Sibelius 7's default. See attached PNG. >> >> Huh? The perfectly rendered stafflines make it clear that this is not a >> scanned image. But clef, noteheads and text are rendered _appallingly_ >> a

Re: Cropped output (à la -dpreview) possible in Finale and Sibelius

2013-04-09 Thread Janek Warchoł
2013/4/9 David Kastrup : > Urs Liska writes: > >> It seems this is Sibelius 7's default. See attached PNG. > > Huh? The perfectly rendered stafflines make it clear that this is not a > scanned image. But clef, noteheads and text are rendered _appallingly_ > awful, like it would be dithering

Re: Cropped output (à la -dpreview) possible in Finale and Sibelius

2013-04-09 Thread David Kastrup
Urs Liska writes: > It seems this is Sibelius 7's default. See attached PNG. Huh? The perfectly rendered stafflines make it clear that this is not a scanned image. But clef, noteheads and text are rendered _appallingly_ awful, like it would be dithering the stroke widths. Hopefully not t

Re: Cropped output (à la -dpreview) possible in Finale and Sibelius

2013-04-09 Thread Urs Liska
Thanks for that clarification. So this isn't a 'selling point' for LilyPond anymore ... Urs Am 09.04.2013 18:59, schrieb Phil Holmes: - Original Message - From: "Urs Liska" To: "Lilypond-User" Sent: Tuesday, April 09, 2013 5:26 PM Subject: Cropped

Re: Cropped output (à la -dpreview) possible in Finale and Sibelius

2013-04-09 Thread Joseph Rushton Wakeling
On 04/09/2013 06:26 PM, Urs Liska wrote: > When I used Finale one had to draw a rectangle with the mouse that then was > exported. > Needless to say that this is a poor way to consistently line up music > fragments > in a text document. I doubt this is the way a hardcore professional engraving pe

Cropped output (à la -dpreview) possible in Finale and Sibelius

2013-04-09 Thread Urs Liska
I never used Sibelius, and the last version of Finale I actually worked with was 2001. Therefore I'd like to ask here before writing something inappropriately negative about them ;-) Is it possible to output cropped output in .png or .pdf format from them, just like -dpreview or lilypond