[Bug 213172] New: kipi convert images: png conversion not deterministic

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

[Bug 213172] New: kipi convert images: png conversion not deterministic

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

           Summary: kipi convert images: png conversion not deterministic
           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 spotted this when I was converting some old big bmp to png. The result was
that the file size difference between output png files was too big. This might
not have been cause by the compresion alghorithm. Not easy to reproduce, but
try the following:

1. Create some test album
2. Copy one jpg file to this album.
3. Rename the file to test_1.jpg.
4. Copy the same file to this album.
5. Rename to test_2.jpg.
6. Start rename to png with compresion set to 1 in options - if you are lucky
you will have different sizes at first atempt
7. If not, renemae again the same two jpgs with "Overwrite mode" combo set to
"Rename"
8. And  the 7 step again, again, again ... ;)

Sounds strange, so I will attach a screen ... ;)

--
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 213172] kipi convert images: png conversion not deterministic

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





--- Comment #1 from Bartek Pietrasiak <pietras sp gmail com>  2009-11-05 00:38:21 ---
Created an attachment (id=38097)
 --> (http://bugs.kde.org/attachment.cgi?id=38097)
the mentioned proof ;)

--
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 213172] kipi convert images: png conversion not deterministic

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





--- Comment #2 from Bartek Pietrasiak <pietras sp gmail com>  2009-11-05 00:46:38 ---
One more check. After you have reproduced, check the real file size on hard
disk (via e.g. ls). They will be exactly the same ... ;)

--
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 213172] kipi convert images: png conversion not deterministic

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





--- Comment #3 from Bartek Pietrasiak <pietras sp gmail com>  2009-11-05 02:56:25 ---
Similar problem in editor.
Please do the following:
1. F4 on some jpg
2. Save it one with max png compression
3. Edit again and save it once again with min compression

The files will have different file size on hard disk (what it is expected), but
digikam will show files size different from the really ones.

--
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 213172] kipi convert images: png conversion not deterministic

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


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |BatchProcessImages
            Version|unspecified                 |0.6.0
            Product|digikam                     |kipiplugins




--
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 213172] kipi convert images: png conversion not deterministic

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


Gilles Caulier <[hidden email]> changed:

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




--
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 213172] Convert images to png conversion not deterministic

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

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |BatchQueueManager-Tool-Conv
                   |                            |ert
            Product|kipiplugins                 |digikam
            Version|0.6.0                       |unspecified
           Assignee|[hidden email]         |[hidden email]
            Summary|kipi convert images: png    |Convert images to png
                   |conversion not              |conversion not
                   |deterministic               |deterministic

--
You are receiving this mail because:
You are the assignee for the bug.