Hi Guys, I'm designing my web site and converting my vector graphics to Bitmap for exporting to .png images. But when I convert, the vector image will changes from say, 31px to 33 px wide. This is throwing out the alignment of my images when aligning them together. So the question becomes: 1) do I not worry about it, 2) compensate the vector size by reducing the pixel width for when it converts or 3) slightly adjust my page size after everything (all images) is butted with each other? Just wondering what others are doing with this or am I the only one experiencing this issue. My guess is the bitmap conversion, due to anti aliasing, is adding two extra pixels to the vector image. My guess now would be to make the conversions first and later adjust the final page size allowing for the extra added pixels with each bitmap. What do others think? Cheers.
Hi Anjaz, thanks. The change in width is occuring when I select 'Convert To Bitmap' in CDRAW (pre the .png export-conversion). Cheers.
If X5 works the same as X7.4, an object with an even pixel dimension must have object hinting applied, otherwise the object straddles the pixel grid instead of fitting neatly within it. When object hinting is not applied, converting to bitmap, or exporting, adds half a pixel to each side -- consequently, all objects without object hinting will be rounded to the next even number of pixels.
I'm guessing that X5 might have the same problem, in which case you may find using even numbers of pixels will sidestep the problem.
If you specifically must have an odd number of pixels for an object, then some things you could try:
Note that I don't have X5 to test, so these are ideas rather than a confirmed solution and if you are doing this a lot, working in X7.4 would probably be a better answer.