[magick-users] png to pdf with transparency
Joseph Kolibal
joseph.kolibal at usm.edu
Thu Aug 21 11:37:30 PDT 2008
Ron,
Interesting, because the cross-corner.png appears more neutral on my
viewing of it. I have put the file cross.jpg on
http://www.math.usm.edu/kolibal/cross.png
and have also put a screenshot of the three files, cross.jpg,
cross-corner.pdf and cross-corner.png, in the file
http://www.math.usm.edu/kolibal/cross-screenshot.png
and in viewing it using several viewers, the middle pdf file has a
distinct greenish tinge compared to the others. Thank you.
Joseph Kolibal
On Thu, 21 Aug 2008 14:23:55 -0400
"Ross Presser" <rpresser at gmail.com> wrote:
> Your Cross-Corner.png appears green to me as well.
>
> Can we have a link to the original JPG as well? Perhaps it carries a
> color profile that is being dropped by Imagemagick in the convert
> phase.
>
> On Thu, Aug 21, 2008 at 1:30 PM, Joseph Kolibal
> <joseph.kolibal at usm.edu>wrote:
>
> > I am trying to put a shadow and border around a jpg image,
> > and had adapted the instructions at the imagemagick website to
> > create a pdf file using,
> >
> > convert $1.jpg \
> > \( +clone -threshold -1 -compose multiply -draw \
> > 'fill black polygon 0,0 0,50 50,0 fill white circle 50,50
> > 50,0' \ \( +clone -flip \) -composite \( +clone -flop \) -composite
> > \ \) +matte -compose Copy_Opacity -composite $1'-corner.png'
> >
> > convert $1'-corner.png' -matte -virtual-pixel transparent -channel
> > A \ -blur 0x8 -level 0,50% $1'-blur.png'
> >
> > convert $1'-blur.png' $1'-blur.pdf'
> >
> > The images are all of expected quality, however when I attempt to
> > view the file $1-blur.pdf using acroread, i.e., the adobe pdf
> > reader, the colors are greenish, and incorrect. If I view it with
> > kpdf or any other pdf viewer, they are correct and consistent with
> > the png images. Is there any way to assure that acrobat reader will
> > produce a viewable image of the file? A copy of the files can be
> > found at
> >
> > http://www.math.usm.edu/kolibal/cross-corner.png
> > http://www.math.usm.edu/kolibal/cross-corner.pdf
> >
> > If I convert the starting jpg file to pdf, there are no difficulties
> > with the color viewing using acroread or any other pdf viewer. Thank
> > you for your assistance.
> >
> >
> > Joseph Kolibal
> >
> >
> > ----------------------------------
> > Joseph Kolibal
> > The University of Southern Mississippi
> > Department of Mathematics
> > 118 College Drive 5045
> > Hattiesburg, MS 39406-0001
> >
> > E-mail: joseph.kolibal at usm.edu, kolibal at delphi.st.usm.edu
> > Office: Room 207 Southern Hall, PH: 601-266-4301, FX: 601-266-5818
> >
> > Web Links:
> > http://www.math.usm.edu/kolibal (Home pages)
> > http://www.math.usm.edu/cmi CMI (Computational Mathematics
> > Information)
> >
> > Further contact:
> > Department of Mathematics
> > PH: 601-266-4289/FX: 601-266-5818
> > http://www.usm.edu/math
> >
> > Sent: From athena
> > ----------------------------------
> >
> >
> >
> > ----------------------------------
> > Joseph Kolibal
> > The University of Southern Mississippi
> > Department of Mathematics
> > 118 College Drive 5045
> > Hattiesburg, MS 39406-0001
> >
> > E-mail: joseph.kolibal at usm.edu, kolibal at delphi.st.usm.edu
> > Office: Room 207 Southern Hall, PH: 601-266-4301, FX: 601-266-5818
> >
> > Web Links:
> > http://www.math.usm.edu/kolibal (Home pages)
> > http://www.math.usm.edu/cmi CMI (Computational Mathematics
> > Information)
> >
> > Further contact:
> > Department of Mathematics
> > PH: 601-266-4289/FX: 601-266-5818
> > http://www.usm.edu/math
> >
> > Sent: From delphi
> > ----------------------------------
> > _______________________________________________
> > Magick-users mailing list
> > Magick-users at imagemagick.org
> > http://studio.imagemagick.org/mailman/listinfo/magick-users
> >
>
> Greased Lightbox <http://shiftingpixel.com/lightbox/>→←+-↻
>
> Loading image
>
> Click anywhere to cancel
>
> Image unavailable
R
----------------------------------
Joseph Kolibal
The University of Southern Mississippi
Department of Mathematics
118 College Drive 5045
Hattiesburg, MS 39406-0001
E-mail: joseph.kolibal at usm.edu, kolibal at delphi.st.usm.edu
Office: Room 207 Southern Hall, PH: 601-266-4301, FX: 601-266-5818
Web Links:
http://www.math.usm.edu/kolibal (Home pages)
http://www.math.usm.edu/cmi CMI (Computational Mathematics
Information)
Further contact:
Department of Mathematics
PH: 601-266-4289/FX: 601-266-5818
http://www.usm.edu/math
Sent: From delphi
----------------------------------
More information about the Magick-users
mailing list