AlanHK
16th January 2007, 03:12
I've been using the NoLogo filter on some files.
This uses a reference frame with the logo on a black background. To make that I did a screen capture in VDUBmod and saved it as a PNG. I like PNG because it's lossless and much smaller than an equivalent BMP (5k as opposed to 600k).
Then loaded it in an AVS as:
logo=ImageReader("logo414.png").ConverttoYUY2()
clip=AVISource("nt-414.avi",false).ConverttoYUY2()
NoLogoAuto(clip,logo,1)
etc...
This worked fine.
Then I thought I'd clean up the saved images a bit, fill the parts outside the logo area with pure black, I did this in Photoshop and saved the file as PNG again. Now the logo filter is ineffective. There are no errors, but it doesn't change the image.
Eventually I suspected something was wrong with the images.
I opened and just resaved them in Irfanview. These looked identical to the orignal, but were rather smaller in filesize; and now the logofilter worked again.
So I ran some scripts with just ImageReader("logo414.png") to just see the logo frames and found that in the Photoshop exported files the logos (light grey) were visible but much darker than the original or Irfanview versions, though in other image viewing apps they looked indistinguishable.
Anyway, I wonder if this is a known problem.
Are there preferred options when exporting PNG from Photoshop for this purpose?
This uses a reference frame with the logo on a black background. To make that I did a screen capture in VDUBmod and saved it as a PNG. I like PNG because it's lossless and much smaller than an equivalent BMP (5k as opposed to 600k).
Then loaded it in an AVS as:
logo=ImageReader("logo414.png").ConverttoYUY2()
clip=AVISource("nt-414.avi",false).ConverttoYUY2()
NoLogoAuto(clip,logo,1)
etc...
This worked fine.
Then I thought I'd clean up the saved images a bit, fill the parts outside the logo area with pure black, I did this in Photoshop and saved the file as PNG again. Now the logo filter is ineffective. There are no errors, but it doesn't change the image.
Eventually I suspected something was wrong with the images.
I opened and just resaved them in Irfanview. These looked identical to the orignal, but were rather smaller in filesize; and now the logofilter worked again.
So I ran some scripts with just ImageReader("logo414.png") to just see the logo frames and found that in the Photoshop exported files the logos (light grey) were visible but much darker than the original or Irfanview versions, though in other image viewing apps they looked indistinguishable.
Anyway, I wonder if this is a known problem.
Are there preferred options when exporting PNG from Photoshop for this purpose?