Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

remote frontend and jpg vs png

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


scram69 at gmail

Nov 20, 2009, 9:52 PM

Post #1 of 10 (854 views)
Permalink
remote frontend and jpg vs png

I was struggling for a while trying to understand why, following my
upgrade to 0.22, that I could no longer see any channel icons and most
of my movie posters on my remote frontends. It finally dawned on me
that the few images I can see are all .png, while all of the images
that are not visible are .jpg. Has anyone else noticed this? If this
is a new "feature", can anyone recommend a utility to convert all of
my .jpgs to .pngs?

I'm assuming anytime one updates/adds fanart or posters, or
mythfilldatabase gets a new channel icon, one needs to manually
convert from .jpg to .png?
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


wilson.joe at gmail

Nov 20, 2009, 10:18 PM

Post #2 of 10 (824 views)
Permalink
Re: remote frontend and jpg vs png [In reply to]

You can always try the "convert" program from the imagemagick package.
It is command-line based, and great for doing big batches of conversions.
But there has been a change from png to jpg, what happen to the concept
of open source?


mtdean at thirdcontact

Nov 20, 2009, 10:23 PM

Post #3 of 10 (803 views)
Permalink
Re: remote frontend and jpg vs png [In reply to]

On 11/21/2009 12:52 AM, scram69 wrote:
> I was struggling for a while trying to understand why, following my
> upgrade to 0.22, that I could no longer see any channel icons and most
> of my movie posters on my remote frontends. It finally dawned on me
> that the few images I can see are all .png, while all of the images
> that are not visible are .jpg. Has anyone else noticed this? If this
> is a new "feature", can anyone recommend a utility to convert all of
> my .jpgs to .pngs?
>
> I'm assuming anytime one updates/adds fanart or posters, or
> mythfilldatabase gets a new channel icon, one needs to manually
> convert from .jpg to .png?

/me guesses that the problem images are actually PNG's or GIF's with a
.jpg extension.

Qt4 requires "proper" (from an MS Windows standpoint, of course) file
extensions for images.

Try file on them.

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


kollix at aon

Nov 21, 2009, 3:27 AM

Post #4 of 10 (797 views)
Permalink
Re: remote frontend and jpg vs png [In reply to]

On Saturday 21 November 2009 06:52:18 scram69 wrote:
> I was struggling for a while trying to understand why, following my
> upgrade to 0.22, that I could no longer see any channel icons and most
> of my movie posters on my remote frontends. It finally dawned on me
> that the few images I can see are all .png, while all of the images
> that are not visible are .jpg. Has anyone else noticed this? If this
> is a new "feature", can anyone recommend a utility to convert all of
> my .jpgs to .pngs?

I'm a developer using Qt and from that perspective I once had the same problem:
Qt has built-in PNG support, but for all other image formats, it needs to load
plugins, e.g. all in /usr/lib/qt4/plugins/imageformats/

Where I had a problem was when Qt could not find the plugins (although this
was a special case in my devloped app)...

--
Best regards/Schöne Grüße

Martin () ascii ribbon campaign - against html mail
/\ - against microsoft attachments

Geschenkideen, Accessoires, Seifen, Kulinarisches: www.bibibest.at
Attachments: signature.asc (0.19 KB)


scram69 at gmail

Nov 21, 2009, 8:08 AM

Post #5 of 10 (788 views)
Permalink
Re: remote frontend and jpg vs png [In reply to]

On Sat, Nov 21, 2009 at 3:27 AM, Martin Koller <kollix [at] aon> wrote:

> I'm a developer using Qt and from that perspective I once had the same problem:
> Qt has built-in PNG support, but for all other image formats, it needs to load
> plugins, e.g. all in /usr/lib/qt4/plugins/imageformats/
>
> Where I had a problem was when Qt could not find the plugins (although this
> was a special case in my devloped app)...
>
> --
> Best regards/Schöne Grüße
>
> Martin    ()  ascii ribbon campaign - against html mail
>          /\                        - against microsoft attachments
>
> Geschenkideen, Accessoires, Seifen, Kulinarisches: www.bibibest.at
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>

steve [at] mediaserve:~/Videos/posters$ file horton_hears_a_who.jpg
horton_hears_a_who.jpg: JPEG image data, JFIF standard 1.01, comment:
"CREATOR: gd-jpeg v1.0 (using IJ"

steve [at] mediaserve:~/.mythtv/channels$ file pbs.jpg
pbs.jpg: JPEG image data, JFIF standard 1.02

Thanks, Martin, that appears to be the problem. Looking at
osx-packager.pl (both remote FEs are OSX), I see no explicit mention
of image formats plugins in the qt4 section.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


scram69 at gmail

Nov 22, 2009, 9:36 AM

Post #6 of 10 (749 views)
Permalink
Re: remote frontend and jpg vs png [In reply to]

On Fri, Nov 20, 2009 at 10:18 PM, Joe Wilson <wilson.joe [at] gmail> wrote:
> You can always try the "convert" program from the imagemagick package.
> It is command-line based, and great for doing big batches of conversions.
> But there has been a change from png to jpg, what happen to the concept
> of open source?
Joe - thanks for the tip. I found mogrify, a batch version of
"convert". For those now running 0.22 who have more than just a
couple of movie posters in .jpg format (it seems unlikely that I'm the
only one, but who knows?), here are a few useful commands:

mogrify -format png *.jpg
rm -f *.jpg
rename 's/png/jpg/' *.png
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


beww at beww

Nov 22, 2009, 9:56 AM

Post #7 of 10 (752 views)
Permalink
Re: remote frontend and jpg vs png [In reply to]

On Sunday 22 November 2009 10:36:25 scram69 wrote:
> On Fri, Nov 20, 2009 at 10:18 PM, Joe Wilson <wilson.joe [at] gmail> wrote:
> > You can always try the "convert" program from the imagemagick package.
> > It is command-line based, and great for doing big batches of conversions.
> > But there has been a change from png to jpg, what happen to the concept
> > of open source?
>
> Joe - thanks for the tip. I found mogrify, a batch version of
> "convert". For those now running 0.22 who have more than just a
> couple of movie posters in .jpg format (it seems unlikely that I'm the
> only one, but who knows?), here are a few useful commands:
>
> mogrify -format png *.jpg
> rm -f *.jpg
> rename 's/png/jpg/' *.png

Just thought I should mention that both mogrify and convert are parts of the
imagemagick package.

Just making sure that credit goes where it is due :-)

Imagemagick is a great image manipulation package, at least for those who are
not afraid of the command line.

--
Brian Wood
beww [at] beww
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Nov 22, 2009, 4:14 PM

Post #8 of 10 (739 views)
Permalink
Re: remote frontend and jpg vs png [In reply to]

On 11/22/2009 12:36 PM, scram69 wrote:
> On Fri, Nov 20, 2009 at 10:18 PM, Joe Wilson <wilson.joe [at] gmail> wrote:
>
>> You can always try the "convert" program from the imagemagick package.
>> It is command-line based, and great for doing big batches of conversions.
>> But there has been a change from png to jpg, what happen to the concept
>> of open source?
>>
> Joe - thanks for the tip. I found mogrify, a batch version of
> "convert". For those now running 0.22 who have more than just a
> couple of movie posters in .jpg format (it seems unlikely that I'm the
> only one, but who knows?), here are a few useful commands:
>
> mogrify -format png *.jpg
> rm -f *.jpg
> rename 's/png/jpg/' *.png

Note, though, that Myth supports both PNG /and/ JPEG images for channel
icons (or any other images)--assuming, of course, that you've installed
proper image support into Qt for such images.

I.e. there was really no reason to convert them.

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


scram69 at gmail

Nov 29, 2009, 9:26 PM

Post #9 of 10 (621 views)
Permalink
Re: remote frontend and jpg vs png [In reply to]

On Sun, Nov 22, 2009 at 4:14 PM, Michael T. Dean
<mtdean [at] thirdcontact> wrote:

> assuming, of course, that you've installed
> proper image support into Qt for such images.
>
> Mike
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
I was under the impression that once compiled, myth uses its own Qt
and Qt plugins ... and completely ignores _my_ Qt installation and
plugins.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Nov 29, 2009, 10:45 PM

Post #10 of 10 (616 views)
Permalink
Re: remote frontend and jpg vs png [In reply to]

On 11/30/2009 12:26 AM, scram69 wrote:
> On Sun, Nov 22, 2009 at 4:14 PM, Michael T. Dean wrote:
>
>> assuming, of course, that you've installed
>> proper image support into Qt for such images.
> I was under the impression that once compiled, myth uses its own Qt
> and Qt plugins ... and completely ignores _my_ Qt installation and
> plugins.

While Myth does provide its own copy of some libraries (which means the
system libs aren't used for them), Myth does use the system-installed Qt
libraries.

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.