How to export a PNG file of a logo at a specific pixel dimension in illustrator? I exported many times but none keeps the ratio right. I want the logo to be exported as PNG in square size. I took the artboard according to that. but my PNG gets stretched/reduced.
If you need a file 1200x630 px... Why are you making a square-proportion design?
You could export it, let's say, as a 1200x1200 px file, or 630x630px or whatever, but of course they WILL stretch the file.
Make an artboard on a new file with the correct proportion and decide what will happen to your design inside that file, if it is stretch, do it yourself, if it is a crop, then crop it yourself.
Illustrator has a deficient export dialog box, but you simply need a file on 1200x630px so using the export dialog at 72ppi will export the file at those px dimensions.