For Pictures use png no jpgs, right?

DWhitevidman wrote on 4/28/2010, 5:34 PM
I've seen several posts in many places relating to this but I'm not sure about a couple of things.

If files from most cameras and scanners are jpgs and the following statement is true,
" Pngs are preferable to jpgs because jpgs compress the image file and introduce artifacts. Pngs are a lossless format, and are capable of preserving transparency. Certainly the size, in pixels, needs to be reasonably small, but that is true for all of the file types. "
1. Whats the best way to convert jpgs to pngs? Pull into PhotoShop, then save as pngs?
2. What is the transparency in a picture that is referred to in the statement quoted above?
Thanks

Comments

CClub wrote on 4/28/2010, 5:47 PM
I'll give it a start, and then hopefully a few of the photo experts will chime in and help you.

With Vegas 9d, despite its bugs so far, I haven't had any problem using jpgs. If you find that jpgs are causing problems, you could use Photoshop as you stated... setting up an Action to do a whole folder at a time is a great time saver. The free program Irfanview is also great... just google it.

The "transparency" is when you're using layers. Very complicated to explain, and if you use them, it would be best to research a bit online (keywords, "Photoshop" & "layers" & "transparency").
Laurence wrote on 4/28/2010, 7:08 PM
My rule with jpegs and pngs is this. If you have a jpeg and want to use it, just use the jpeg directly. Changing it to a png uses more disk space and has no real advantage. If on the other hand you want to make any changes in that jpeg with photoshop (lighten, enlarge, crop, etc.), save your changed file as a png. That way you are not doing further damage by adding another generation of jpeg compression.
JohnnyRoy wrote on 4/28/2010, 7:31 PM
> 1. Whats the best way to convert jpgs to pngs?

No way because it is not necessary and a useless exercise. Once you have compressed a file as a JPEG there is no advantage to making it a PNG. The compression artifacts, if any, will be in the PNG as well.

Laurence said this already but I'll reiterate... the only reason for using PNG (other than needing an alpha channel) is if you were going to process the file further in Photoshop. Then you might want to convert it to a lossless format so that no further loss occurs. But for just using the image in Vegas there is no reason to convert JPEGS because they work fine. You would have to have a pretty low quality JPEG to see compression artifacts in the video.

I have been making photo montages with Vegas for over 8 years now (since Vegas Video 3.0) and I have always used JPEGS and my montages are exceptional quality.

~jr
xberk wrote on 4/28/2010, 7:31 PM
No problems with 9.0d 64 bit and JPEG. I do the same as Laurence, if I'm going to alter the image in Photoshop, I save as PNG. Just a habit with Vegas.

Paul B .. PCI Express Video Card: EVGA VCX 10G-P5-3885-KL GeForce RTX 3080 XC3 ULTRA ,,  Intel Core i9-11900K Desktop Processor ,,  MSI Z590-A PRO Desktop Motherboard LGA-1200 ,, 64GB (2X32GB) XPG GAMMIX D45 DDR4 3200MHz 288-Pin SDRAM PC4-25600 Memory .. Seasonic Power Supply SSR-1000FX Focus Plus 1000W ,, Arctic Liquid Freezer II – 360MM .. Fractal Design case ,, Samsung Solid State Drive MZ-V8P1T0B/AM 980 PRO 1TB PCI Express 4 NVMe M.2 ,, Wundiws 10 .. Vegas Pro 19 Edit

rmack350 wrote on 4/28/2010, 10:13 PM
I think the story with PNG has gotten a little warped over time. As I remember it, we'd all recommend converting TIF files to PNG because TIF had sluggish playback in Vegas.

Rob
Chienworks wrote on 4/29/2010, 4:05 AM
There was also the widely circulated rumor that "PNG is Vegas' native format", which has never had any sign of factual backing.
xberk wrote on 4/29/2010, 10:21 AM
Spot still (in his latest edition) recommends using PNG files for "optimum use in Vegas". If I understand him correctly his reason is that PNG are not compressed. I generally don't mess with success--- if my orig file is JPEG, I leave it alone unless it causes a problem or I want to modify it --- then I save as PNG.

Paul B .. PCI Express Video Card: EVGA VCX 10G-P5-3885-KL GeForce RTX 3080 XC3 ULTRA ,,  Intel Core i9-11900K Desktop Processor ,,  MSI Z590-A PRO Desktop Motherboard LGA-1200 ,, 64GB (2X32GB) XPG GAMMIX D45 DDR4 3200MHz 288-Pin SDRAM PC4-25600 Memory .. Seasonic Power Supply SSR-1000FX Focus Plus 1000W ,, Arctic Liquid Freezer II – 360MM .. Fractal Design case ,, Samsung Solid State Drive MZ-V8P1T0B/AM 980 PRO 1TB PCI Express 4 NVMe M.2 ,, Wundiws 10 .. Vegas Pro 19 Edit

rmack350 wrote on 4/29/2010, 11:25 AM
Well, a PNG is compressed but the method isn't aggressive and it's lossless. It's a very good format for text and graphics that use a limited palette or include transparency (aka, an alpha channel). It's also perfectly fine for photos but it takes a lot of space on disc.

A PNG and a JPG should take up the same amount of RAM when they're decompressed, so the issue of size should only apply to disc space. It's possible that PNG takes less CPU power to decompress, but that's just a guess.

Whether PNG is "native" to Vegas isn't really clear. The licensing is free and it has nice features, and Vegas exports the format, so it's a reasonable candidate to use on the timeline.

One very good thing that PNG provides is an 8-bit alpha channel. This doesn't just give you transparency, it gives you 255 levels of transparency between totally transparent and totally opaque. This allows you have an image of a graphic with a transparent background and you can bake in a 50% transparent drop shadow. Or you can have soft edges. It's a very handy format and does something that's totally impossible with a jpeg file.

On the other hand, I think Perrone pointed out that PNG has a kind of indefinite gamma so it could look different going from one application to another. Something to watch out for.

Rob Mack
Ecquillii wrote on 4/29/2010, 1:40 PM
So, well, my question, then, would be: if I am working with a JPG in Photoshop, would it not be preferable to save as PSD instead of PNG?—especially since Vegas can now handle the layers?

Tim Robertson

Desktop:ASUS M32CD

Version of Vegas: VEGAS Pro Version 20.0 (Build 370)
Windows Version: Windows 10 Home (x64) Version 21H2 (build 19044.2846)
Cameras: Canon T2i (MOV), Sony HDR-CX405 (MP4), Lumia 950XL, Samsung A8, Panasonic HC-V785 (MP4)
Delivery Destination: YouTube, USB Drive, DVD/BD

Processor: 3.40 gigahertz Intel Core i7-6700
RAM: 16 Gigabytes
Graphics Card 1: AMD Radeon R9 370; Driver Version: 15.200.1065.0
Graphics Card 2: Intel HD Graphics 530; Driver Version: 31.0.101.2111
GPU acceleration of video processing: Optimal - AMD Radeon R9 370
Enable Hardware Decoding for supported formats: 'Enable legacy AVC' is off; 'Enable legacy HEVC' is on
Hardware Decoder to Use: Auto (Off)

rmack350 wrote on 4/29/2010, 2:28 PM
If you're working in photoshop and have to save a psd file then, sure, use the PSD file in Vegas. I would have done that before vegas recognized layers, just because it's more flexible than a PNG.

In fact, Vegas's new ability to recognize PSD layers kind of implies creating layers differently than you might have otherwise done. If you just want to preserve a flexible composition in a single image that is easy to edit later then by all means use folders and adjustment layers and styles, etc.

On the other hand, if you want to use the layers as objects in Vegas then you'd probably get rid of all those things and flatten certain parts of the image.

In the end, know your tools, make informed decisions, and test the things people tell you to see if they're really true.

Rob
DWhitevidman wrote on 4/29/2010, 2:37 PM
Ok, looks like I got what I was looking for and more.

Like other posts above I've been using jpgs since Vegas 4 or 5 and now in 8, and am not aware that is't ever been an issue.

So based on what' been shared here, I don't think for my use, there is any reason to convert any photos and continue to use jpgs if fine.

Thanks, ya all
richard-amirault wrote on 4/29/2010, 7:59 PM
Somewhat off topic, but not entirely ... I recently tried to save a still from the timeline to add to the end of a clip. I first tried to save as a PNG but when I overlapped the still at the end of the video I noticed that they did not match up .. and there was a distinct 'movement' during the crossfade. (yes, I used Best ... Full)

I re-did it but got the same result. Only when I saved to JPG did the crossfade run un-noticed.