Import and exported File have different sizes though they are identical

I have a .ply file which is 6mb in size. It has about 140000 faces. This is an output of a 3d scan. When I import it into blender and export it again as a .ply or a .obj, the file size is increasing to 60mb, even without making a single change (No modifiers, no change in scale, no change in mesh, nothing!). Can someone help me in figuring out why this is happening? Thanks

What is that blender is adding to the imported file to make it 10 times bigger in file size?

Also, i tried decimating the object to a ratio of 0.1 and still the exported file is 9mb, while the original 3D scanned file is just 6mb.

• perhaps your 3d scanner is exporting as .ply binary (compact storage), and blender exports as .ply ascii (less compact, but human readable). en.wikipedia.org/wiki/PLY_(file_format) – zeffii Dec 27 '15 at 16:14
• Ohh, may be. Is there a way I can check that? – Sum-Al Dec 27 '15 at 16:22
• try look at the .ply in a text editor – zeffii Dec 27 '15 at 16:23
• This is how it looks like (3d scan output ply): à²rÂ˜ÓjC2—£Dà²rÂ.¶€CTœ¢D.à²rÂ.û€C ”¢D2à²rÂ°ßsCjU£D(à²rÂüdvCÌ8£D(à²rÂð·mC"‰£Dà²rÂHœpC8t£Dà²rÂ¤€sC – Sum-Al Dec 27 '15 at 16:26
• yep, that's binary (not human readable) – zeffii Dec 27 '15 at 19:07

Blender's .ply importer can handle two kinds of .ply file.

• ascii (plain text -human readable, but large file sizes)
• binary (data is stored in a compact way, and must be decoded before it becomes human readable)

Blender exports neither .ply or .obj as binary, so expect larger file sizes as exports.

• Just curious, do you know if there's a converter tool to strip a non-binary .ply down to binary? Because it seems that would address OP's concern with file size, while keeping the essential data intact. – Mentalist Dec 27 '15 at 18:47
• Nope. I don't know of any Blender exporter for .ply or .obj that saves as binary. The question seems to really be why there's a difference in size. – zeffii Dec 27 '15 at 19:07
• Right, but what I mean is: maybe there is a separate script or app outside of Blender that can take an ASCII .ply and reduce it to a binary .ply. Wait, actually I'll just search online... Hey! Turns out there is a way to convert them :-) I'll post an answer. – Mentalist Dec 28 '15 at 0:27

When you export a .ply file from Blender it will be in ASCII format. However, you can then open it in MeshLab and re-export it as a binary .ply, which is much smaller.