I create a graphic in CorelDraw X7. I export it to a PNG. In the export parameters I select a width of 324 pixels. The resulting image is 323 pixels. How can I tell it that I want exactly 384 pixels?
I was frustrated with similar problems many years ago (Corel Draw 4), but the problem was solved long ago. Specifically, I don't have this problem in version X3.
Thanks
Yes, it has an outline. It consists of group of colored closed curves.
Sorry, I misunderstood your question. The curves have no outline defined. There is a fill but no "pen".
I couldn't show you the project that originally led to the problem, but I've been able to reproduce the problem with a simple graphic.
Just create a rectangle, 156.52 mm x 40.756 mm. Set a fill color, and turn off any outline.
Follow any of the instructions given above, and you'll get the same result. A request for 324 pixels results in a width of 323 pixels.
Doing the math, The width should be 150.876mm to be able to get a width of 324pixels at 300dpi respectively. 156.52mm will never result in an integer value for pixels, The decimal values are being rounded off to the closest, hence the persistent 323 pixel result.
It’s been like this forever. It’s caused by anti-assailing of the object, if it is not aligned perfectly to the pixel this will happen. Object hinting will help, otherwise, change your document settings to pixels, turn your view to pixel, zoom in and note how the objects edges align to the pixel.