Failed to load image .png in 0.9.0-rc1

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Failed to load image .png in 0.9.0-rc1

Richard Taylor-16
Hi

I have just rebuilt my machine and installed 0.9.0-rc1 and for some reason I
can not view png files.

When I open a png file in the "Image Editor" or in "Showfoto" I get the error:

  Failed to load image <filename>.png

On the console I see:

 QFile::open: No file name specified
 QFile::open: No file name specified
 showfoto: WARNING: Failed to load image <filename>.png
 showfoto: WARNING: [Digikam::DImg* Digikam::DImgInterface::getImg()] d->image  
is NULL

I do get the thumbnail displayed and I get all the EXIF meta data displayed.

Is this a qt problem? I am not sure which element of the system is causing
this problem. Inkscape, scribus and gimp all display png images fine.

System details:

 digikam-0.9.0-rc1
 kde-3.5.2
 qt-4.1.4-r2
 gcc-4.1.1
 glibc-2.4-r3
 2.6.17-gentoo-r8 i686

Any pointers would be very much appreciated.

Regards

Richard
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Failed to load image .png in 0.9.0-rc1

Gilles Caulier-2
On Tuesday 28 November 2006 09:38, Richard Taylor wrote:

> Hi
>
> I have just rebuilt my machine and installed 0.9.0-rc1 and for some reason
> I can not view png files.
>
> When I open a png file in the "Image Editor" or in "Showfoto" I get the
> error:
>
>   Failed to load image <filename>.png
>
> On the console I see:
>
>  QFile::open: No file name specified
>  QFile::open: No file name specified
>  showfoto: WARNING: Failed to load image <filename>.png
>  showfoto: WARNING: [Digikam::DImg* Digikam::DImgInterface::getImg()]
> d->image is NULL
>
> I do get the thumbnail displayed and I get all the EXIF meta data
> displayed.
>
> Is this a qt problem? I am not sure which element of the system is causing
> this problem. Inkscape, scribus and gimp all display png images fine.
>
> System details:
>
>  digikam-0.9.0-rc1
>  kde-3.5.2
>  qt-4.1.4-r2
>  gcc-4.1.1
>  glibc-2.4-r3
>  2.6.17-gentoo-r8 i686
>
> Any pointers would be very much appreciated.
>
> Regards
>
Hi Richard,

Just check libpng sahred library. digikam PNG image loader use it.

Also, you can send me in private a PNG file sample to check if all is ok.

Gilles
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Failed to load image .png in 0.9.0-rc1

Richard Taylor-16
On Tuesday 28 November 2006 08:34, Gilles Caulier wrote:

> On Tuesday 28 November 2006 09:38, Richard Taylor wrote:
> > Hi
> >
> > I have just rebuilt my machine and installed 0.9.0-rc1 and for some
> > reason I can not view png files.
> >
> > When I open a png file in the "Image Editor" or in "Showfoto" I get the
> > error:
> >
> >   Failed to load image <filename>.png
> >
> > On the console I see:
> >
> >  QFile::open: No file name specified
> >  QFile::open: No file name specified
> >  showfoto: WARNING: Failed to load image <filename>.png
> >  showfoto: WARNING: [Digikam::DImg* Digikam::DImgInterface::getImg()]
> > d->image is NULL
> >
> > I do get the thumbnail displayed and I get all the EXIF meta data
> > displayed.
> >
> > Is this a qt problem? I am not sure which element of the system is
> > causing this problem. Inkscape, scribus and gimp all display png images
> > fine.
> >
> > System details:
> >
> >  digikam-0.9.0-rc1
> >  kde-3.5.2
> >  qt-4.1.4-r2
> >  gcc-4.1.1
> >  glibc-2.4-r3
> >  2.6.17-gentoo-r8 i686
> >
> > Any pointers would be very much appreciated.
> >
> > Regards
>
> Hi Richard,
>
> Just check libpng sahred library. digikam PNG image loader use it.
>
> Also, you can send me in private a PNG file sample to check if all is ok.
>
> Gilles

Hi Gilles,

Thanks for the superfast response.

I have rebuilt and upgraded from libpng 1.2.12-r1- to 1.2.13 but still get the
same error, would you expect me to have to rebuild digikam too?

Link to sample image on its way directly to you.

Regards

Richard
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Failed to load image .png in 0.9.0-rc1

Gilles Caulier-2
On Tuesday 28 November 2006 10:05, Richard Taylor wrote:

> On Tuesday 28 November 2006 08:34, Gilles Caulier wrote:
> > On Tuesday 28 November 2006 09:38, Richard Taylor wrote:
> > > Hi
> > >
> > > I have just rebuilt my machine and installed 0.9.0-rc1 and for some
> > > reason I can not view png files.
> > >
> > > When I open a png file in the "Image Editor" or in "Showfoto" I get the
> > > error:
> > >
> > >   Failed to load image <filename>.png
> > >
> > > On the console I see:
> > >
> > >  QFile::open: No file name specified
> > >  QFile::open: No file name specified
> > >  showfoto: WARNING: Failed to load image <filename>.png
> > >  showfoto: WARNING: [Digikam::DImg* Digikam::DImgInterface::getImg()]
> > > d->image is NULL
> > >
> > > I do get the thumbnail displayed and I get all the EXIF meta data
> > > displayed.
> > >
> > > Is this a qt problem? I am not sure which element of the system is
> > > causing this problem. Inkscape, scribus and gimp all display png images
> > > fine.
> > >
> > > System details:
> > >
> > >  digikam-0.9.0-rc1
> > >  kde-3.5.2
> > >  qt-4.1.4-r2
> > >  gcc-4.1.1
> > >  glibc-2.4-r3
> > >  2.6.17-gentoo-r8 i686
> > >
> > > Any pointers would be very much appreciated.
> > >
> > > Regards
> >
> > Hi Richard,
> >
> > Just check libpng sahred library. digikam PNG image loader use it.
> >
> > Also, you can send me in private a PNG file sample to check if all is ok.
> >
> > Gilles
>
> Hi Gilles,
>
> Thanks for the superfast response.

Well i remeber you that you have help me to write digiKam handbook in the past
(:=)))

>
> I have rebuilt and upgraded from libpng 1.2.12-r1- to 1.2.13 but still get
> the same error, would you expect me to have to rebuild digikam too?

Of course. To be sure, clean up digikam before (make disclean) and re-compile
all (make -f Makefile.cvs; ./configure; make ...)

>
> Link to sample image on its way directly to you.

ok

Gilles
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Failed to load image .png in 0.9.0-rc1

Richard Taylor-16
On Tuesday 28 November 2006 09:00, Gilles Caulier wrote:

> On Tuesday 28 November 2006 10:05, Richard Taylor wrote:
> > On Tuesday 28 November 2006 08:34, Gilles Caulier wrote:
> > > On Tuesday 28 November 2006 09:38, Richard Taylor wrote:
> > > > Hi
> > > >
> > > > I have just rebuilt my machine and installed 0.9.0-rc1 and for some
> > > > reason I can not view png files.
> > > >
> > > > When I open a png file in the "Image Editor" or in "Showfoto" I get
> > > > the error:
> > > >
> > > >   Failed to load image <filename>.png
> > > >
> > > > On the console I see:
> > > >
> > > >  QFile::open: No file name specified
> > > >  QFile::open: No file name specified
> > > >  showfoto: WARNING: Failed to load image <filename>.png
> > > >  showfoto: WARNING: [Digikam::DImg* Digikam::DImgInterface::getImg()]
> > > > d->image is NULL
> > > >
> > > > I do get the thumbnail displayed and I get all the EXIF meta data
> > > > displayed.
> > > >
> > > > Is this a qt problem? I am not sure which element of the system is
> > > > causing this problem. Inkscape, scribus and gimp all display png
> > > > images fine.
> > > >
> > > > System details:
> > > >
> > > >  digikam-0.9.0-rc1
> > > >  kde-3.5.2
> > > >  qt-4.1.4-r2
> > > >  gcc-4.1.1
> > > >  glibc-2.4-r3
> > > >  2.6.17-gentoo-r8 i686
> > > >
> > > > Any pointers would be very much appreciated.
> > > >
> > > > Regards
> > >
> > > Hi Richard,
> > >
> > > Just check libpng sahred library. digikam PNG image loader use it.
> > >
> > > Also, you can send me in private a PNG file sample to check if all is
> > > ok.
> > >
> > > Gilles
> >
> > Hi Gilles,
> >
> > Thanks for the superfast response.
>
> Well i remeber you that you have help me to write digiKam handbook in the
> past (:=)))
>

I am glad that you have a good memory :-)

> > I have rebuilt and upgraded from libpng 1.2.12-r1- to 1.2.13 but still
> > get the same error, would you expect me to have to rebuild digikam too?
>
> Of course. To be sure, clean up digikam before (make disclean) and
> re-compile all (make -f Makefile.cvs; ./configure; make ...)

I have rebuilt both digikam and digikamimageplugins but I am still getting the
same error. (These build are being done by re-emerging the gentoo ebuild,
which will start a new build from scratch). Anything else I can try?

Richard
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Failed to load image .png in 0.9.0-rc1

Gilles Caulier-2
On Tuesday 28 November 2006 12:37, Richard Taylor wrote:

> On Tuesday 28 November 2006 09:00, Gilles Caulier wrote:
> > On Tuesday 28 November 2006 10:05, Richard Taylor wrote:
> > > On Tuesday 28 November 2006 08:34, Gilles Caulier wrote:
> > > > On Tuesday 28 November 2006 09:38, Richard Taylor wrote:
> > > > > Hi
> > > > >
> > > > > I have just rebuilt my machine and installed 0.9.0-rc1 and for some
> > > > > reason I can not view png files.
> > > > >
> > > > > When I open a png file in the "Image Editor" or in "Showfoto" I get
> > > > > the error:
> > > > >
> > > > >   Failed to load image <filename>.png
> > > > >
> > > > > On the console I see:
> > > > >
> > > > >  QFile::open: No file name specified
> > > > >  QFile::open: No file name specified
> > > > >  showfoto: WARNING: Failed to load image <filename>.png
> > > > >  showfoto: WARNING: [Digikam::DImg*
> > > > > Digikam::DImgInterface::getImg()] d->image is NULL
> > > > >
> > > > > I do get the thumbnail displayed and I get all the EXIF meta data
> > > > > displayed.
> > > > >
> > > > > Is this a qt problem? I am not sure which element of the system is
> > > > > causing this problem. Inkscape, scribus and gimp all display png
> > > > > images fine.
> > > > >
> > > > > System details:
> > > > >
> > > > >  digikam-0.9.0-rc1
> > > > >  kde-3.5.2
> > > > >  qt-4.1.4-r2
> > > > >  gcc-4.1.1
> > > > >  glibc-2.4-r3
> > > > >  2.6.17-gentoo-r8 i686
> > > > >
> > > > > Any pointers would be very much appreciated.
> > > > >
> > > > > Regards
> > > >
> > > > Hi Richard,
> > > >
> > > > Just check libpng sahred library. digikam PNG image loader use it.
> > > >
> > > > Also, you can send me in private a PNG file sample to check if all is
> > > > ok.
> > > >
> > > > Gilles
> > >
> > > Hi Gilles,
> > >
> > > Thanks for the superfast response.
> >
> > Well i remeber you that you have help me to write digiKam handbook in the
> > past (:=)))
>
> I am glad that you have a good memory :-)
>
> > > I have rebuilt and upgraded from libpng 1.2.12-r1- to 1.2.13 but still
> > > get the same error, would you expect me to have to rebuild digikam too?
> >
> > Of course. To be sure, clean up digikam before (make disclean) and
> > re-compile all (make -f Makefile.cvs; ./configure; make ...)
>
> I have rebuilt both digikam and digikamimageplugins but I am still getting
> the same error. (These build are being done by re-emerging the gentoo
> ebuild, which will start a new build from scratch). Anything else I can
> try?

no, no, no. have you recieve my mail in private ? Your PNG test image is not
PNG file, but a JPEG file. This is why digiKam PNG image loader cannot read
it.

Just change file extension from .png to .jpg...

Gilles
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users