Search found 4 matches

by Knorkebrot
2011-09-01T09:03:02-07:00
Forum: Users
Topic: Convert pdf to png: ignoring -background?
Replies: 6
Views: 30453

Re: Convert pdf to png: ignoring -background?

Maybe I will need this later, some customers said they want to adjust the size of those images*, so I'll keep that in mind, thank you :)
(* the PNGs just serve as preview of the later downloaded or printed vouchers/invoices/delivery orders etc.)
by Knorkebrot
2011-08-30T12:41:49-07:00
Forum: Users
Topic: Convert pdf to png: ignoring -background?
Replies: 6
Views: 30453

Re: Convert pdf to png: ignoring -background?

So it's not possible to write the image (with alpha) onto a white background (in one command)? It's what I thought '-background' would do before posting here. What I'm doing now, isn't that nice since there is one call of convert per page: #!/usr/bin/perl -w # .... my $pdf = $ARGV[0]; my $name ...
by Knorkebrot
2011-08-30T10:31:46-07:00
Forum: Users
Topic: Convert pdf to png: ignoring -background?
Replies: 6
Views: 30453

Re: Convert pdf to png: ignoring -background?

You misunderstood my question: it's not about the multiple output files, I want and need them, it's about getting _transparent_ PNGs when I want them to have a white (not transparent) background. :) But thank you for answering, I already tried '-alpha off', but it produces unreadable text of course ...
by Knorkebrot
2011-08-30T07:41:13-07:00
Forum: Users
Topic: Convert pdf to png: ignoring -background?
Replies: 6
Views: 30453

Convert pdf to png: ignoring -background?

Hi, I have a transparent pdf and want to convert it to a non-transparent png using `convert -background white in.pdf out.png`, but the resulting png is still transparent. I tried to use '-flatten', but this will print all pages onto a single one. Also the '-background' option works only when using ...