After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 98017 - add a "save for web" feature
add a "save for web" feature
Status: RESOLVED OBSOLETE
Product: GIMP
Classification: Other
Component: Plugins
git master
Other All
: High enhancement
: Future
Assigned To: GIMP Bugs
GIMP Bugs
: 98018 112111 317100 745009 (view as bug list)
Depends on:
Blocks: 118191
 
 
Reported: 2002-11-08 14:11 UTC by stefan
Modified: 2018-05-24 10:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Webexport source code (23.77 KB, application/zip)
2006-11-27 16:44 UTC, Aurimas Juška
Details
Screenshot of save for web dialog (44.13 KB, image/jpeg)
2006-11-27 17:21 UTC, Aurimas Juška
Details

Description stefan 2002-11-08 14:11:24 UTC
it would be great if gimp 1.4 would have a feature "save-for-web" where you
can choose at least jpeg and png, (gif would be great) with a preview
window like current jpeg-preview,
great program anyway
Comment 1 Sven Neumann 2002-11-08 14:54:15 UTC
*** Bug 98018 has been marked as a duplicate of this bug. ***
Comment 2 Raphaël Quinet 2002-11-08 15:35:30 UTC
See also the comments added to bug #92193 for more details about what
could be included in this feature.  The comparison of previews with
different quality settings is probably the most important feature in
this enhancement proposal, but there are other things that could be
included as well.
Comment 3 Alan Horkan 2003-07-23 18:44:25 UTC
Changes at the request of Dave Neary on the developer mailing list.  
I am changing many of the bugzilla reports that have not specified a target
milestone to Future milestone.  Hope that is acceptable.  
Comment 4 Alan Horkan 2003-12-20 18:33:28 UTC
http://www.marcusvorwaller.com/weblog/archives/000011.html

An article bemoaning the lack of the "Save for Web" feature.  
Photoshop users seem to really like the convenience of this, 
even thought it doesn't add anything the GIMP cant already do, 
it does make it easier and streamline the workflow.  

[At least I dont think it does anything the GIMP cannot already do, 
please do correct me if I'm wrong.  I think it might be an easy-fix 
(but i leave it to the devlopers to add the keyword if appropriate)
perhaps it would be a good project for someone wanting to add new 
plugin to the GIMP and wrap the existing functionality in an a single
convenient dialog.  Not volunteering myself though, at least not
anytime soon]

Instead of thinking of this as a plugin to be added you could red
consider this as a problem that Photoshop users have with the GIMP
user interface.  

I also googled for some images (and articles) showing the "Save for
Web" feature which should help those who are not already familiar with
the tool.  

http://bermangraphics.com/tips/attach.htm
http://cws.internet.com/screenshots/img/photoshop6-2-big.jpg
http://www.usc.edu/isd/publications/networker/99-00/v10n1-Sept_Oct_99/expose-saveforweb.html
Comment 5 Sven Neumann 2003-12-20 18:37:58 UTC
Up until now I don't understand why noone has written such a plug-in
yet. It wouldn't be overly difficult and it would be tremendously useful.
Comment 6 Alan Horkan 2003-12-20 18:41:10 UTC
I only just noticed that the comments of that article actually include
a much better screenshot than any of the ones I posted earlier
http://www.marcusvorwaller.com/weblog/archives/saveforweb.jpg

Comment 7 Sven Neumann 2003-12-20 18:44:49 UTC
In my opinion the user interface shown in this screenshot has a lot of
room for improvements. It is too complex and it wastes screen estate.
If anyone wants to implement this, please don't copy this thing
straight away.
Comment 8 Alan Horkan 2003-12-20 18:53:48 UTC
You are not wrong, the interface is not ideal, 
but the tool is quite a lot better than you can tell just by looking
at the screenshots.  

if you have the chance to experiment with Adobe Photoshop for a while
this tool would be worth looking at.  
I believe Adobe Photoshop runs properly on Wine, and even a demo
version should be enough to give you a much better feel for it than
the screenshots.  
(I understand however that you probably have better things to do than
mess about with Adobe Photoshop)
Comment 9 Alan Horkan 2004-01-17 13:31:31 UTC
http://matrix.netsoc.tcd.ie/~horkana/dev/gnome/gimp/screenshots/photoshop/SaveForWeb/

A bunch of screenshots and a short note that should help give a better
idea of what "Save for Web" does.  
Comment 10 Bugzilla Maintainers 2004-04-01 23:44:57 UTC
The URL field has been removed from bugzilla.gnome.org. This URL was in the old URL field, and is being added as a comment so that the data is not lost. Please email bugmaster@gnome.org if you have any questions.

URL: 
http://matrix.netsoc.tcd.ie/~horkana/dev/gnome/gimp/screenshots/photoshop/SaveForWeb/
Comment 11 Maurits Rijk 2004-08-10 11:41:40 UTC
I was just wondering if we could implement this without having to copy the
complete dialog for the jpeg/png/etc. settings to such a plug-in. It would be
nice if the file plug-ins could export their dialog somehow, so that they could
be re-used in other plug-ins.
Comment 12 Raphaël Quinet 2004-08-25 18:49:30 UTC
Another option would be to provide some of the file plug-ins as shared object
files that can be dlopen'ed, or as DLLs for Windows.  A "save for the web"
plug-in could then simply embed the relevant file plug-ins.
Comment 13 Sven Neumann 2004-08-26 08:54:23 UTC
Uh? Plug-ins can call other plug-ins so there's no need for shared objects here.

You definitely don't want to copy the GUI from the jpeg/png/etc. plug-ins. The
whole point of a "Save for Web" plug-in is to offer a simplified GUI so there's
no point in duplicating what's there already.
Comment 14 Sven Neumann 2005-03-22 18:19:15 UTC
*** Bug 112111 has been marked as a duplicate of this bug. ***
Comment 15 Sven Neumann 2005-09-30 22:17:09 UTC
*** Bug 317100 has been marked as a duplicate of this bug. ***
Comment 16 Sven Neumann 2005-09-30 22:18:51 UTC
Bug #317100 has another mockup attached that should be considered if someone
finally gets around to implementing this plug-in.
Comment 17 shevek 2005-11-30 04:29:52 UTC
It would be great if GIMP would detect how sharp the edges are and how flat the
colours are, and auto-select JPG vs PNG (or simply advise the user).

Most users are never going to learn even such a basic difference, and inevitably
this stuffs up almost all personal relationships within the workplace.

I think this simple fix is easily doable, even without the save-for-web special gui.

shevek
Comment 18 Michael Schumacher 2005-11-30 09:40:17 UTC
If you have a simple fix, it would be nice if you could attach the patch
(preferably against current CVS) to this bug.
Comment 19 Michael Schumacher 2006-07-29 21:58:28 UTC
Save for Web is a SoC 2006 project.
Comment 20 Aurimas Juška 2006-10-29 10:14:24 UTC
If no one is actively working on this, I could give it a try. 

I see two ways this could be done:
(1) Up to 4 views which allow to compare optimized with original and images with other compression. Requires user to select a view to work with and more complex implementation. Advantages: more freedom to experiment. Disadvantages: more difficult to use.
(2) 2 views: original and optimized. No need to select view to work with, simpler implementation. Advantages: simper to use. Disadvantages: can't compare optimized image with the one with different compression, only with optimized.
Comment 21 Michael Schumacher 2006-10-29 10:22:38 UTC
The views do not neccessarily have to be in one common GUI. You can create arbitrary ones and just have to make sure to present the right image windows on request.
Comment 22 Sven Neumann 2006-10-29 18:15:43 UTC
I would suggest you use two views. The user can compare the optimized images by switching the image format. As long as the preview switches fast enough, this should work fine. Caching should make it fast enough.
Comment 23 Aurimas Juška 2006-11-27 16:44:52 UTC
Created attachment 77223 [details]
Webexport source code

Here is source code that is more or less close to final. However, there are some points which might need working/discussing:
- It uses GdkPixbufs to display image on screen by copying pixels from gimp's pixel data. I've got a feeling that some changes would have to be made to support color management.
- It currently sits in Filters/Web/Save for Web. IMO, File/Save for Web close to other save commands would be a better place.
Comment 24 Aurimas Juška 2006-11-27 17:21:12 UTC
Created attachment 77225 [details]
Screenshot of save for web dialog

Note: you can scroll image window as if using hand tool.

In my last comment's code webx_dialog.c line 1127 should be changed from:
  webx_view_get_target_rect (&clipbox);
to
  webx_view_get_rect (&clipbox);
Comment 25 Aurimas Juška 2007-04-16 10:00:59 UTC
Attachment 77223 [details] is absolete. Current version is maintained at http://registry.gimp.org/plugin?id=8799 .

If at some point it should be moved to The Gimp source tree, the only required change (that I know) would be to change internationalization #includes.
Comment 26 Stephen Griffiths 2009-09-26 11:32:23 UTC
Is this bug still valid after the save + export specification was implemented?
Comment 27 Martin Nordholts 2009-09-26 11:35:19 UTC
Yep.
Comment 28 Nerds Of Technology 2012-07-16 23:41:55 UTC
For goodness sake PLEASE revert the save functionality to save to the opened extension. E.G. open a .jpg ... Click save ... it saves the .jpg

E.G. open a .jpg ... Click save as ... it saves the files as something else

with 2.8 YOU ARE FORCING THE USER INTO XCF --- STOP IT!

Instead have a THIRD save as (instead of this export crap):

Save <---------- save as SAME format you opened (if new file, save to XCF)
Save As ... <--- save as ANOTHER format than what you opened
Save As XCF <--- save as XCF

If this isn't the right spot to say this please help me get this functionality back in. MULTIPLE YEAR USER OF GIMP
Comment 29 Michael Natterer 2012-07-17 08:30:11 UTC
Don't add spam to bug reports please.
Comment 30 Michael Natterer 2015-02-23 18:02:41 UTC
*** Bug 745009 has been marked as a duplicate of this bug. ***
Comment 31 GNOME Infrastructure Team 2018-05-24 10:47:47 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/33.