[Digikam-devel] [Bug 217598] detect image type to save according to extension

Johannes Wienke languitar at semipol.de
Sun Dec 6 15:07:28 GMT 2009


https://bugs.kde.org/show_bug.cgi?id=217598


Johannes Wienke <languitar at semipol.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |languitar at semipol.de




--- Comment #1 from Johannes Wienke <languitar semipol de>  2009-12-06 16:07:26 ---
There was a problem about the old behaviour: themoment the options that are
special to a selected file type (like jpeg compression) are displayed directly
inside the save dialog. If, eg. the dialog initially states tiff, you change
the extension to jpeg in the filename and save the file with automatic file
type detection based on the extension, you end up with unpredictable options
for the generated jpeg, because you never saw the options for jpeg in the
dialog.

I think there are two solutions to solve this problem if and automatic
detection based on the filename is needed:

1. doing the automatic detection while typing the filename and adjusting the
file type settings every time a new type is detected by the extension. But this
could result in strange flickering of the dialog while typing.
2. Use two step procedure: First type the file name and after confirming the
dialog show a separate window with file type specific options. This is the way
gimp does it. I don't like it too much, because you always have to confirm two
dialogs.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list