[Digikam-users] Batch tools, unsharp

Gilles Caulier caulier.gilles at gmail.com
Tue Oct 16 18:17:59 BST 2007


Yes, Mik,

To have coded originaly this plugins, the range is in interger and the
parameters is passed to ImageMagick as a float after to have divided the
value...

Gilles

2007/10/16, Mikolaj Machowski <mikmach at wp.pl>:
>
> Dnia Tuesday 16 of October 2007, Olivier Six napisaƂ:
> > Hi everyone,
> >
> > I already asked about this problem, but got no answer. I will try
> > again to explain what my problem is :
> >
> > The "tools - batch process", if I go to the "filter", and "unsharp",
> > in the options, there are 4 settings that I can enter :
> >
> > Radius, Deviation, Percent, Threshold
> >
> > In the Imagemagick manuel, it says :
> > threshold: The threshold, as a fraction of QuantumRange, needed to
> > apply the difference amount (default 0.05).
> > (ref :
> > http://www.imagemagick.org/script/command-line-options.php?#unsharp)
> >
> > The problem is that I can only use integers as setting.
> >
> > It appears the same problem applies for the other parameters.
> >
> > In the page http://redskiesatnight.com/Articles/IMsharpen/
> > I can read :
> >
> > <quote>
> > A typical call to convert might look something like the following:
> > $ convert ... -unsharp 1.5x1.2+1.0+0.10 <input file> <output file>
> > </quote>
> >
> > Obviously all parameters could be ?NOT intergers?, but in the
> > batch-process, I can enter ONLY integers.
> >
> > Does anyone have an idea ? Is it a ?bug? in Imagemagick, or in Digikam?
>
> Well, ImageMagick has slightly different attitude toward values.
> Almost everything there is in range 0-1 while in other programs it is
> usually 1-100 or even 1-1000. IM probably has more scientific attitude
> contrary to user friendliness everywhere else. It is not bug per se in
> either program. What is a bug for me is inability of digiKam to use
> non-integer values for radius. Other values are just different approach.
>
> Threshold in batch tool has range 0-20. I suppose it is just 0-1 in 0.05
> steps. Usability bug definitely. You should file it in bugs.kde.org
> asking for uniformity between kipi and digiKam.
>
> BTW - for unsharp mask 1.0 application is quite strong, try it with 0.8.
>
> m.
>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20071016/f9e48bda/attachment.html>


More information about the Digikam-users mailing list