use png.

Jpegs have background, so you will not go very further in this direction (if I 
understood well your problem ^^)

Ben

On Jun 15, 2013, at 11:56 PM, Usman Bhatti <[email protected]> wrote:

> I need to export JPEG images in Pharo to later import then in my PDF 
> document. When I export JPEG files with Pharo, the background is black, which 
> makes the exported image meaningless. To reproduce the problem, do the 
> following in the latest moose image (the image can be obtained from here):
> 
> |window|
> window := ESExamples new kiviat2.
> window model canvas imageForm writeJPEGfileNamed: 'fileName.jpg'. 
> 
> The file will be produced in the image folder. If someone could suggest how 
> to make the background white or transparent, it'll be a great help.
> 
> Usman

Reply via email to