PNG vs JPG

General Moho topics.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
Jkoseattle
Posts: 430
Joined: Tue Nov 08, 2016 6:39 pm

PNG vs JPG

Post by Jkoseattle »

My project uses almost exclusively external images. Lots and lots of them. By default I get JPGs and just go ahead and use them as-is. But often I need to carve pieces out of them and make parts transparent, so those I save as PNGs. So my project has lots of JPGs and lots of PNGs, depending on whether I use the image exactly as I get it or whether I need to alter it and have transparent bits. And there are a lot of them, so a single project might have over 100 of these images. Near the end of the building process, Moho gets very sluggish. (I know I know, split it into smaller movies. Sometimes that's impractical for other reasons.)

So it occurs to me that maybe Moho would be happier if all these images were PNGs? There's no reason I can't save those unaltered JPGs as PNGs instead, so that the whole project has only PNGs in it. Would that make any difference, do you think?
Most of the time I'm doing music stuff. Check me out at http://www.jimofseattle.com/music.

Thing I did for work: https://www.youtube.com/watch?v=LgFYGqifLYw
chucky
Posts: 4650
Joined: Sun Jan 28, 2007 4:24 am

Re: PNG vs JPG

Post by chucky »

PNG all the way
User avatar
synthsin75
Posts: 9934
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: PNG vs JPG

Post by synthsin75 »

Probably won't help performance, but jpg is compressed while png is lossless. So png will preserve better image quality.
User avatar
slowtiger
Posts: 6067
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Re: PNG vs JPG

Post by slowtiger »

If you're on Mac, PNG seem to slow down the system a bit. Not Moho itself, but first time loading and opening takes some time.
AS 9.5 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
AS 11 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
Moho 13.5 iMac Quadcore 2,9GHz 16GB OS 10.15

Moho 14.1 Mac Mini Plus OS 13.5
chucky
Posts: 4650
Joined: Sun Jan 28, 2007 4:24 am

Re: PNG vs JPG

Post by chucky »

Mac no like png? Didn't know that, yikes and yeeesh. :?
User avatar
Greenlaw
Posts: 9192
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: PNG vs JPG

Post by Greenlaw »

The only time I use JPG is for a visual reference, like an animatic or tracing image. This is because JPG streams more efficiently across a network.

However, if the image/sequence is meant to be part of the final render, it's PNG all the way. This is because PNG is a lossless format and JPG is a lossy format. With JPG, the images will degrade when you re-render them, and they will probably degrade quite noticeably by the time they've been rendered again in compositing and/or editing, and when they're compressed again by a streaming service like YouTube or Vimeo.

Also, if you need transparency in the layers, PNG supports transparency but JPG does not.

PNG might possibly take a little longer to load because the file size can be larger but once the images are loaded in memory, they shouldn't be slower than any other image layer format in Moho. If PNG is slower on the Mac version of Moho, this should be reported to the developers because it really shouldn't be slower.
User avatar
Jkoseattle
Posts: 430
Joined: Tue Nov 08, 2016 6:39 pm

Re: PNG vs JPG

Post by Jkoseattle »

Thanks all! I can use PNG all the way then, if there's no performance difference.
Most of the time I'm doing music stuff. Check me out at http://www.jimofseattle.com/music.

Thing I did for work: https://www.youtube.com/watch?v=LgFYGqifLYw
Post Reply