GIMP Forums » For GIMP developers (read-only)
Interactive adjustment of image quality for lossy image formats ...
Jump to message:
- Interactive adjustment... — steve@advance-sof..., 15 Nov 2008 03:21 PM
- Interactive adjustment... — Martin Nordholts, 15 Nov 2008 03:24 PM
- Interactive adjustment... — steve@advance-sof..., 15 Nov 2008 03:31 PM
- Interactive adjustment... — Martin Nordholts, 15 Nov 2008 03:43 PM
- Interactive adjustment... — Liam R E Quin, 15 Nov 2008 05:56 PM
As a registered user, you can subscribe forum threads in order to get notified when replies are posted. Just log in at the right top of the page if you already have an account, otherwise you can register for free.
| Permalink: | 380-2200811615142150380@M2W005.mail2w... |
|---|---|
| Date: | 15 Nov 2008 03:21 PM |
| From: | steve@advance-software.com |
| Subject: | Interactive adjustment of image quality for lossy image formats ... |
Hi guys,
Me again.
As previously discussed, in order for the new jpeg-2000 plugin to be
useful, it is
necessary to be able to save images with user selectable compression ratios.
I've taken a look at the jpg save setup in GIMP and have noted that there
is a quality
slider, but, unless I'm missing something (which is possible - I only had a
quick look),
it is not possible to interactively inspect the compressed image as the
slider is moved.
This is inefficient because artists won't know what the compressed image is
going to look
like until they open it up again. It would be far better to be able to
adjust the image
quality in real time.
So, my question - does GIMP provide the ability to do the above in some way
or do I need
to write code to open a temporary inspection window within the save
callback ?
Follow on - this is some way off at the moment ... Jpeg-2000 supports
rectangular regions
of interest (ROI) to enable some parts of an image to be compressed at
different levels
from others, so for example, a sign with text could be compressed at high
quality so you
can read it, whilst the background could be more fuzzy, as it's not so
important to be
able to make out the detail so accurately. Is there some way we can mark
rectangular
areas that don't get saved in the image, but that are available in the save
routine for
ROI optimisation ? Layers ?
Thanks in advance for any assistance you are able to offer.
Best regards,
Steve.
--------------------------------------------------------------------
mail2web.com - Microsoft® Exchange solutions from a leading provider -
http://link.mail2web.com/Business/Exchange
Me again.
As previously discussed, in order for the new jpeg-2000 plugin to be
useful, it is
necessary to be able to save images with user selectable compression ratios.
I've taken a look at the jpg save setup in GIMP and have noted that there
is a quality
slider, but, unless I'm missing something (which is possible - I only had a
quick look),
it is not possible to interactively inspect the compressed image as the
slider is moved.
This is inefficient because artists won't know what the compressed image is
going to look
like until they open it up again. It would be far better to be able to
adjust the image
quality in real time.
So, my question - does GIMP provide the ability to do the above in some way
or do I need
to write code to open a temporary inspection window within the save
callback ?
Follow on - this is some way off at the moment ... Jpeg-2000 supports
rectangular regions
of interest (ROI) to enable some parts of an image to be compressed at
different levels
from others, so for example, a sign with text could be compressed at high
quality so you
can read it, whilst the background could be more fuzzy, as it's not so
important to be
able to make out the detail so accurately. Is there some way we can mark
rectangular
areas that don't get saved in the image, but that are available in the save
routine for
ROI optimisation ? Layers ?
Thanks in advance for any assistance you are able to offer.
Best regards,
Steve.
--------------------------------------------------------------------
mail2web.com - Microsoft® Exchange solutions from a leading provider -
http://link.mail2web.com/Business/Exchange
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
| Permalink: | 491EDBA1.6040101@gmail.com |
|---|---|
| Date: | 15 Nov 2008 03:24 PM |
| From: | Martin Nordholts |
| Subject: | Interactive adjustment of image quality for lossy image formats ... |
steve@advance-software.com wrote:
> Hi guys,
>
> Me again.
>
> As previously discussed, in order for the new jpeg-2000 plugin to be
> useful, it is
> necessary to be able to save images with user selectable compression ratios.
>
> I've taken a look at the jpg save setup in GIMP and have noted that there
> is a quality
> slider, but, unless I'm missing something (which is possible - I only had a
> quick look),
> it is not possible to interactively inspect the compressed image as the
> slider is moved.
Hi Steve
Check the 'Show preview in image window' checkbox. The way it is
implemented is rather hackish IIRC but there's a preview at least.
- Martin
> Hi guys,
>
> Me again.
>
> As previously discussed, in order for the new jpeg-2000 plugin to be
> useful, it is
> necessary to be able to save images with user selectable compression ratios.
>
> I've taken a look at the jpg save setup in GIMP and have noted that there
> is a quality
> slider, but, unless I'm missing something (which is possible - I only had a
> quick look),
> it is not possible to interactively inspect the compressed image as the
> slider is moved.
Hi Steve
Check the 'Show preview in image window' checkbox. The way it is
implemented is rather hackish IIRC but there's a preview at least.
- Martin
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
| Permalink: | 380-220081161514313773@M2W042.mail2we... |
|---|---|
| Date: | 15 Nov 2008 03:31 PM |
| From: | steve@advance-software.com |
| Subject: | Interactive adjustment of image quality forlossy image formats ... |
Hi Martin,
Thanks for your prompt response.
Hackish is fine ...
Next job, locating the source to the jpeg plugin so I can grab the basics
and merge ...
Best regards,
Steve.
Original Message:
-----------------
From: Martin Nordholts enselic@gmail.com
Date: Sat, 15 Nov 2008 15:24:33 +0100
To: steve.williams@advance-software.com,
gimp-developer@lists.xcf.berkeley.edu
Subject: Re: [Gimp-developer] Interactive adjustment of image quality
forlossy image
formats ...
steve@advance-software.com wrote:
> Hi guys,
>
> Me again.
>
> As previously discussed, in order for the new jpeg-2000 plugin to be
> useful, it is
> necessary to be able to save images with user selectable compression
ratios.
>
> I've taken a look at the jpg save setup in GIMP and have noted that there
> is a quality
> slider, but, unless I'm missing something (which is possible - I only had
a
> quick look),
> it is not possible to interactively inspect the compressed image as the
> slider is moved.
Hi Steve
Check the 'Show preview in image window' checkbox. The way it is
implemented is rather hackish IIRC but there's a preview at least.
- Martin
Thanks for your prompt response.
Hackish is fine ...
Next job, locating the source to the jpeg plugin so I can grab the basics
and merge ...
Best regards,
Steve.
Original Message:
-----------------
From: Martin Nordholts enselic@gmail.com
Date: Sat, 15 Nov 2008 15:24:33 +0100
To: steve.williams@advance-software.com,
gimp-developer@lists.xcf.berkeley.edu
Subject: Re: [Gimp-developer] Interactive adjustment of image quality
forlossy image
formats ...
steve@advance-software.com wrote:
> Hi guys,
>
> Me again.
>
> As previously discussed, in order for the new jpeg-2000 plugin to be
> useful, it is
> necessary to be able to save images with user selectable compression
ratios.
>
> I've taken a look at the jpg save setup in GIMP and have noted that there
> is a quality
> slider, but, unless I'm missing something (which is possible - I only had
a
> quick look),
> it is not possible to interactively inspect the compressed image as the
> slider is moved.
Hi Steve
Check the 'Show preview in image window' checkbox. The way it is
implemented is rather hackish IIRC but there's a preview at least.
- Martin
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://link.mail2web.com/mail2web
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://link.mail2web.com/mail2web
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
| Permalink: | 491EDFF9.1050507@gmail.com |
|---|---|
| Date: | 15 Nov 2008 03:43 PM |
| From: | Martin Nordholts |
| Subject: | Interactive adjustment of image quality forlossy image formats ... |
steve@advance-software.com wrote:
> Hi Martin,
>
> Thanks for your prompt response.
>
> Hackish is fine ...
>
> Next job, locating the source to the jpeg plugin so I can grab the basics
> and merge ...
>
The code for it is in plug-ins/file-jpeg/jpeg-save.c
- Martin
> Hi Martin,
>
> Thanks for your prompt response.
>
> Hackish is fine ...
>
> Next job, locating the source to the jpeg plugin so I can grab the basics
> and merge ...
>
The code for it is in plug-ins/file-jpeg/jpeg-save.c
- Martin
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
| Permalink: | 1226768218.10503.2.camel@dell.barefoo... |
|---|---|
| Date: | 15 Nov 2008 05:56 PM |
| From: | Liam R E Quin |
| Subject: | Interactive adjustment of image quality for lossy image formats ... |
On Sat, 2008-11-15 at 15:24 +0100, Martin Nordholts wrote:
[...]
> Check the 'Show preview in image window' checkbox. The way it is
> implemented is rather hackish IIRC but there's a preview at least.
It temporarily adds a layer to the image, to do the preview.
You also need to have enabled preview to find out what the
file size will be -- a hassle when trying to get an image
as close as possible to just under 25 MBytes for uploading to
a stock place or for making a print somewhere with a limit...
you don't necessarily want to see the preview at that point.
But it's still useful, even if a little hackish with the layers :)
Liam
[...]
> Check the 'Show preview in image window' checkbox. The way it is
> implemented is rather hackish IIRC but there's a preview at least.
It temporarily adds a layer to the image, to do the preview.
You also need to have enabled preview to find out what the
file size will be -- a hassle when trying to get an image
as close as possible to just under 25 MBytes for uploading to
a stock place or for making a print somewhere with a limit...
you don't necessarily want to see the preview at that point.
But it's still useful, even if a little hackish with the layers :)
Liam
--
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org www.advogato.org
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org www.advogato.org
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


