[Bug 213188] New: BQM convert to png: setting the "PNG compression" has no impact

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

[Bug 213188] New: BQM convert to png: setting the "PNG compression" has no impact

Bartek Pietrasiak
https://bugs.kde.org/show_bug.cgi?id=213188

           Summary: BQM  convert to png: setting the "PNG compression" has
                    no impact
           Product: digikam
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           1.0.0-beta6 (rev.: 1044916) (using 4.3.2 (KDE 4.3.2),
4.3.2-4.fc11 Fedora)
Compiler:          gcc
OS:                Linux (i686) release 2.6.30.9-90.fc11.i686.PAE

I've tried a few times with using 1 and 9. The produced png was always 3,5 mb
(on file system ;).

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 213188] BQM convert to png: setting the "PNG compression" has no impact

Bartek Pietrasiak
https://bugs.kde.org/show_bug.cgi?id=213188





--- Comment #1 from Bartek Pietrasiak <pietras sp gmail com>  2009-11-05 02:37:46 ---
Created an attachment (id=38098)
 --> (http://bugs.kde.org/attachment.cgi?id=38098)
The test jpg

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 213188] BQM convert to png: setting the "PNG compression" has no impact

Gilles Caulier-4
In reply to this post by Bartek Pietrasiak
https://bugs.kde.org/show_bug.cgi?id=213188


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|general                     |Batch Queue Manager
            Version|unspecified                 |1.0.0-beta6
     Ever Confirmed|0                           |1




--- Comment #2 from Gilles Caulier <caulier gilles gmail com>  2009-11-05 11:00:42 ---
Just tested. i confirm this one for BQM...

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 213188] BQM convert to png: setting the "PNG compression" has no impact

Gilles Caulier-4
In reply to this post by Bartek Pietrasiak
https://bugs.kde.org/show_bug.cgi?id=213188


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #3 from Gilles Caulier <caulier gilles gmail com>  2009-11-05 15:02:55 ---
PNG compression level at 1 :

digikam(28001)/digikam (core) Digikam::QueueMgrWindow::checkTargetAlbum: Target
album for queue  "#1"  is:  "/mnt/data/photos/test/212188/"
digikam(28001)/digikam (core) Digikam::ActionThread::run: Tool Index:  1
digikam(28001)/digikam (core) Digikam::BatchTool::setOutputUrlFromInputUrl:
path:  "/mnt/data/photos/test/212188//.1257429505-213188.jpg"
digikam(28001)/digikam (core) Digikam::BatchTool::apply: Tool:        "Convert
To PNG"
digikam(28001)/digikam (core) Digikam::BatchTool::apply: Input url:  
KUrl("file:///mnt/data/photos/test/212188/213188.jpg")
digikam(28001)/digikam (core) Digikam::BatchTool::apply: Output url:
KUrl("file:///mnt/data/photos/test/212188/.1257429505-213188.jpg.png")
digikam(28001)/digikam (core) Digikam::BatchTool::apply: Settings:
digikam(28001)/digikam (core) Digikam::BatchTool::apply:     "Quality" :
QVariant(int, 1)
digikam(28001)/digikam (core) Digikam::DImg::load:
"/mnt/data/photos/test/212188/213188.jpg"  : JPEG file identified
digikam(28001)/KEXIV2 KExiv2Iface::KExiv2::setImagePreview: JPEG image preview
size: ( 1280  x  852 ) pixels -  141370  bytes
digikam(28001)/KEXIV2 KExiv2Iface::KExiv2::setImageOrientation:
Exif.Image.Orientation tag set to:  1
digikam(28001)/digikam (core) Digikam::PNGLoader::save: PNG compression level:
9
digikam(28001)/digikam (core) Digikam::PNGLoader::writeRawProfile: Writing Raw
profile: type= exif , length= 4776
digikam(28001)/digikam (core) Digikam::PNGLoader::writeRawProfile: Writing Raw
profile: type= iptc , length= 141480
digikam(28001)/digikam (core) Digikam::PNGLoader::writeRawProfile: Writing Raw
profile: type= xmp , length= 4217
digikam(28001)/digikam (core) Digikam::AlbumManager::slotDirWatchDirty:
KDirWatch detected change at "/mnt/data/photos/test/212188"
digikam(28001)/digikam (core) Digikam::AlbumManager::slotDirWatchDirty:
KDirWatch detected change at "/mnt/data/photos"
digikam(28001)/KEXIV2 KExiv2Iface::KExiv2::save: File Extension:  "png"  is
supported for writing mode
digikam(28001)/digikam (core) Digikam::AlbumManager::slotDirWatchDirty:
KDirWatch detected change at "/mnt/data/photos/test/212188"
digikam(28001)/digikam (core) Digikam::DImg::load:
"/mnt/data/photos/test/212188/213188-1.png"  : PNG file identified
digikam(28001)/digikam (core) Digikam::ImageScanner::addImage: Adding new item
"/mnt/data/photos/test/212188/213188-1.png"
digikam(28001)/digikam (core)
Digikam::ScanControllerLoadingCacheFileWatch::slotImageChanged: 2894
"/mnt/data/photos/test/212188/213188-1.png"
digikam(28001)/digikam (core) Digikam::ImageScanner::scanFromIdenticalFile:
Recognized "/mnt/data/photos/test/212188/213188-1.png" as identical to item
2892
digikam(28001)/digikam (core) Digikam::ThumbnailCreator::loadImagePreview: Use
Exif/IPTC preview extraction. Size of image:  1280 x 852
digikam(28001)/KEXIV2 KExiv2Iface::KExiv2::getImageOrientation: Orientation =>
Exif.Image.Orientation =>  1
timeChanged

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 213188] BQM convert to png: setting the "PNG compression" has no impact

Gilles Caulier-4
In reply to this post by Bartek Pietrasiak
https://bugs.kde.org/show_bug.cgi?id=213188


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #4 from Gilles Caulier <caulier gilles gmail com>  2009-11-05 15:05:17 ---
PNG compression level at 9 :

digikam(28001)/digikam (core) Digikam::QueueMgrWindow::checkTargetAlbum: Target
album for queue  "#2"  is:  "/mnt/data/photos/test/212188/"
digikam(28001)/digikam (core) Digikam::ActionThread::run: Tool Index:  1
digikam(28001)/digikam (core) Digikam::BatchTool::setOutputUrlFromInputUrl:
path:  "/mnt/data/photos/test/212188//.1257429684-213188.jpg"
digikam(28001)/digikam (core) Digikam::BatchTool::apply: Tool:        "Convert
To PNG"
digikam(28001)/digikam (core) Digikam::BatchTool::apply: Input url:  
KUrl("file:///mnt/data/photos/test/212188/213188.jpg")
digikam(28001)/digikam (core) Digikam::BatchTool::apply: Output url:
KUrl("file:///mnt/data/photos/test/212188/.1257429684-213188.jpg.png")
digikam(28001)/digikam (core) Digikam::BatchTool::apply: Settings:
digikam(28001)/digikam (core) Digikam::BatchTool::apply:     "Quality" :
QVariant(int, 9)
digikam(28001)/digikam (core) Digikam::DImg::load:
"/mnt/data/photos/test/212188/213188.jpg"  : JPEG file identified
digikam(28001)/KEXIV2 KExiv2Iface::KExiv2::setImagePreview: JPEG image preview
size: ( 1280  x  852 ) pixels -  141370  bytes
digikam(28001)/KEXIV2 KExiv2Iface::KExiv2::setImageOrientation:
Exif.Image.Orientation tag set to:  1
digikam(28001)/digikam (core) Digikam::PNGLoader::save: PNG compression level:
9
digikam(28001)/digikam (core) Digikam::PNGLoader::writeRawProfile: Writing Raw
profile: type= exif , length= 4776
digikam(28001)/digikam (core) Digikam::PNGLoader::writeRawProfile: Writing Raw
profile: type= iptc , length= 141480
digikam(28001)/digikam (core) Digikam::PNGLoader::writeRawProfile: Writing Raw
profile: type= xmp , length= 4217
digikam(28001)/digikam (core) Digikam::AlbumManager::slotDirWatchDirty:
KDirWatch detected change at "/mnt/data/photos/test/212188"
digikam(28001)/KEXIV2 KExiv2Iface::KExiv2::save: File Extension:  "png"  is
supported for writing mode
digikam(28001)/digikam (core) Digikam::AlbumManager::slotDirWatchDirty:
KDirWatch detected change at "/mnt/data/photos/test/212188"
digikam(28001)/digikam (core) Digikam::DImg::load:
"/mnt/data/photos/test/212188/213188-9.png"  : PNG file identified
digikam(28001)/digikam (core) Digikam::ImageScanner::addImage: Adding new item
"/mnt/data/photos/test/212188/213188-9.png"
digikam(28001)/digikam (core) Digikam::ImageScanner::scanFromIdenticalFile:
Recognized "/mnt/data/photos/test/212188/213188-9.png" as identical to item
2894
digikam(28001)/digikam (core)
Digikam::ScanControllerLoadingCacheFileWatch::slotImageChanged: 2895
"/mnt/data/photos/test/212188/213188-9.png"
digikam(28001)/digikam (core) Digikam::ThumbnailCreator::loadImagePreview: Use
Exif/IPTC preview extraction. Size of image:  1280 x 852
digikam(28001)/KEXIV2 KExiv2Iface::KExiv2::getImageOrientation: Orientation =>
Exif.Image.Orientation =>  1

Why DImg PNG compression value passed to libpng still to 9 each time, but only
fropm BQM. Form editor, no problem...

Gilles

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 213188] BQM convert to png: setting the "PNG compression" has no impact

Gilles Caulier-4
In reply to this post by Bartek Pietrasiak
https://bugs.kde.org/show_bug.cgi?id=213188





--- Comment #5 from Gilles Caulier <caulier gilles gmail com>  2009-11-05 15:13:24 ---
digikam(29499)/digikam (core) Digikam::BatchTool::apply:     "Quality" :
QVariant(int, 1)
digikam(29499)/digikam (core) Digikam::PNGLoader::save: DImg quality level:  1
digikam(29499)/digikam (core) Digikam::PNGLoader::save: PNG compression level:
9

...

digikam(29499)/digikam (core) Digikam::BatchTool::apply:     "Quality" :
QVariant(int, 9)
digikam(29499)/digikam (core) Digikam::PNGLoader::save: DImg quality level:  9
digikam(29499)/digikam (core) Digikam::PNGLoader::save: PNG compression level:
9

Gilles

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 213188] BQM convert to png: setting the "PNG compression" has no impact

Gilles Caulier-4
In reply to this post by Bartek Pietrasiak
https://bugs.kde.org/show_bug.cgi?id=213188


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #6 from Gilles Caulier <caulier gilles gmail com>  2009-11-05 16:37:27 ---
SVN commit 1045246 by cgilles:

format compression level for JPEG and PNG batch tool properly.
BUGS: 213188


 M  +2 -0      libs/dimg/loaders/pngloader.cpp  
 M  +5 -1      utilities/queuemanager/basetools/convert/convert2jpeg.cpp  
 M  +5 -1      utilities/queuemanager/basetools/convert/convert2png.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1045246

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 213188] BQM convert to png: setting the "PNG compression" has no impact

Gilles Caulier-4
In reply to this post by Bartek Pietrasiak
https://bugs.kde.org/show_bug.cgi?id=213188


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|1.0.0-beta6                 |1.0.0




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 213188] BQM convert to png: setting the "PNG compression" has no impact

bugzilla_noreply
In reply to this post by Bartek Pietrasiak
https://bugs.kde.org/show_bug.cgi?id=213188

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|BatchQueueManager           |BatchQueueManager-Tool-Conv
                   |                            |ert

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel