Scribus progress report, also ImageMagick

Anything related to dev. & that doesn't fit in below categories.
Post Reply
User avatar
Q_x
developer
Posts:334
Joined:Thu Sep 23, 2010 15:10
Scribus progress report, also ImageMagick

Post by Q_x » Sun Jan 16, 2011 11:11

So, I had this long chat and mail conversation with scribus team. To avoid loss of time while reading whole thing:
None of my problems were solved.
They trolled me saying: I'm frustrated (!), I want to make things in ineffective way (!, they have not pointed any better solutions!), they also handled me few basic LaTeX examples (WTF!)
They let me read part of they "how to avoid our nasty bugs" wiki, which I did before.
I made the job better than they have imagined its possible.
They told me to update bug reports with better examples, which I did.
They were nice people after all.

But I think cards with scribus are possible now, but with two extra steps:
Adding shadow to card illustration in bitmap editor.
Shrinking/sharpening/make rounded corners with ImageMagick to .png exported with scribus.

I did a test run with a script:

Code: Select all

for %%f in (*.png) do ( convert "%%f" -sharpen 0x1 -resize 304x420! "%%~nf.png" )
convert -size 304x420 xc:none -draw "roundrectangle 0,0,304,420,10,10" mask.gif
for %%f in (*.png) do ( convert "%%f" -matte mask.gif -compose DstIn -composite "%%~nf.png" )
And without

Code: Select all

-sharpen 0x1
This being said, all the issues are sorted out :D
Attachments
event cards-notsharp001.png
(184.82KiB)Downloaded 54 times
event cards-sharpen001.png
(196.77KiB)Downloaded 54 times
I'm the filthy bastard you wish you never met.
User avatar
Q_x
developer
Posts:334
Joined:Thu Sep 23, 2010 15:10

Re: Scribus progress report, also ImageMagick

Post by Q_x » Sun Jan 16, 2011 11:43

Now the text is sharp, and the corners are little bit blurry.
Attachments
event cards-better001.png
(196.99KiB)Downloaded 51 times
I'm the filthy bastard you wish you never met.
User avatar
pennomi
developer
Posts:151
Joined:Mon Nov 01, 2010 02:11
Location:Utah, United States

Re: Scribus progress report, also ImageMagick

Post by pennomi » Sun Jan 16, 2011 21:40

Well done! I'm really impressed. :D
User avatar
snowdrop
developer
Posts:798
Joined:Mon Feb 01, 2010 15:25
Location:Sweden
Contact:

Re: Scribus progress report, also ImageMagick

Post by snowdrop » Sun Jan 16, 2011 22:49

pennomi wrote:Well done! I'm really impressed. :D
So am I, even if I seldom spell it out about anything. :roll:

I think my little brother captured it nicely during the Christmas holidays:

We were visiting my old folks and all of the family was sitting around the table, eating. My mother asked me if my food tasted well. I said it's ok, it tastes good. She continued to ask questions, to squeeze more info out of me. Eventually my brother said: "The food is fine. Don't you see - the silence means all is perfect. Only time something would be said is if it's bad."

It's really something I have to work on, but yeah, as true as can be said. :P
Post Reply