Transparent images

149 views
Skip to first unread message

Aris

unread,
Jul 9, 2010, 5:52:54 AM7/9/10
to Jcrop Development Discussion
When cropping transparent images (for example with black letters on a
transparent background), the black background of Jcrop is not nice. I
know about the bgColor property -- but that is not what I mean;
bgColor white does not look better, because it is less contrasting.
Instead I would like that Jcrop would also use a fgColor for setting
the background of the image that is cropped, in this case to white.

Aris

unread,
Jul 9, 2010, 6:16:29 AM7/9/10
to Jcrop Development Discussion
My current workaround is the following CSS:

.jcrop-holder img { background-color:white; } /* fix for transparent
images; notice this presumes bgColor parameter = "black" */

Kelly Hallman

unread,
Jul 9, 2010, 11:44:57 AM7/9/10
to jcro...@googlegroups.com
Try bgColor: 'transparent'
Does that work?


--
You received this message because you are subscribed to the Google Groups "Jcrop Development Discussion" group.
To post to this group, send email to jcro...@googlegroups.com.
To unsubscribe from this group, send email to jcrop-dev+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jcrop-dev?hl=en.


Reply all
Reply to author
Forward
0 new messages