Jpg or png export : white line on the edge of picture

When I export a draw, or a picture from the corel x7 to png or to jpg, I have a problem:

Exporting images with anti-aliased, on the exported picture I found a thin white line on the edges of picture.

If I export the picture without anti-aliased, this white line will not be there.

If I export the picture with anti-aliased, BUT I reducing the size one pixel, or one %, there will be no white line.

This problem is there in every dpi, and all file types, what I use (jpg, png, transparent png ).

I have to export a lot of picture, and draw, and very boring to reduce the size on each images... :)

How can I fix it?