It is currently Fri Jul 05, 2024 9:08 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: The export image "feature" :/
PostPosted: Sat Sep 11, 2021 12:42 pm  (#1) 
Offline
GimpChat Member

Joined: Jan 03, 2014
Posts: 97
GIMP Version: 2.10.24
Operating System: Linux
OS Version: Manjaro KDE Plasma version 20-sumthin'
GIMP Experience: Intermediate Level

List any relevant plug-ins or scripts:
Export function

List any ERROR messages you received:
Destroyed image



I destroyed about two hours worth of layer work due to this export-image-keep-the-original-open silliness. I can no longer go back to the original layers, since the image was flattened as part of my workflow of exporting it.

So, is there a way to restore the way it used to be, when you saved an image you continued to work on that, and not the original?

Anyway, I hope this GIMP "feature" affects many, many more people so we hopefully can get rid of it. It is a really, really bad idea!

Until something better turns up, I am going to remove the keyboard shortcut for Ctrl-S, or maybe redirect it to "save as." It suddenly has become EXTREMELY dangerous.

I'm off to recreate the image with layers. Some of it was made in Krita, so this could maybe be used if I save the layers to separate files, but everything I made in GIMP is gone. Not a fun day... Hope I can remember all the steps involved. :(((


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: The export image "feature" :/
PostPosted: Sat Sep 11, 2021 3:12 pm  (#2) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4756
Uh? The export/save distinction was introduced because people would "save" to JPEG, exit, and then discover that their layers were gone. "How to I get back my layers (and paths, and masks...)?" was a fairly common question on Gimp forums before Gimp 2.8.

Your workflow is unusual because normally you don't need to flatten an image before exporting it, the flattening is implicit when exporting to flat formats.

When you fear that you could overwrite the original (XCF or just opened flat image), use `Image>Duplicate`, close the original and work on the copy. The copy loses all the link to the original image, so you cannot overwrite it by accident.

_________________
Image


Top
 Post subject: Re: The export image "feature" :/
PostPosted: Mon Sep 13, 2021 1:32 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 792
Location: SEA - South East Asia
Qruqs wrote:
GIMP Experience: Intermediate Level
..../....
I destroyed about two hours worth of layer work due to this export-image-keep-the-original-open silliness. I can no longer go back to the original layers, since the image was flattened as part of my workflow of exporting it.


"export-image-keep-the-original-open silliness" ??
All software I am aware of when you export an image, this very image stays open! I do need to close it manually or close the software, it would make no sense to close an image when exporting.

If flattening is a part of your workflow when you export, don't blame GIMP.
(why some one would flatten a bunch of hard worked layers, in first place?)

Qruqs wrote:
Anyway, I hope this GIMP "feature" affects many, many more people so we hopefully can get rid of it. It is a really, really bad idea!


Wishing bad things to other people, that is not nice!
Happily we love this feature.

Qruqs wrote:
Until something better turns up, I am going to remove the keyboard shortcut for Ctrl-S, or maybe redirect it to "save as." It suddenly has become EXTREMELY dangerous.
I'm off to recreate the image with layers. Some of it was made in Krita, so this could maybe be used if I save the layers to separate files, but everything I made in GIMP is gone. Not a fun day... Hope I can remember all the steps involved. :(((


A quick search on Google "Export file" 2 first links ;)

Most computer programs have their own way of organizing and encoding data into the files they save. They can recognize their own files but not files from another program. To export a file, the computer has to save data in a format that another program will recognize. The programmers must build this capability into the program itself, so programs are able to export in some file formats and not in others. https://www.techwalla.com/articles/what ... ort-a-file

In a personal computer application, to export is to convert a file into another format than the one it is currently in. Once the file is exported to the desired format (specified in its file name suffix), it can be opened and worked on by an application that recognizes and uses this format. Adobe Photoshop and other programs use this term https://whatis.techtarget.com/definition/export

BTW Adobe Photoshop has recently "hardened" it's "export jpg", trying to be foolproof, so on youtube you have a lot of PS channels complaining that to export as jpg it's now kind of "hidden" but we know all that a common mistake that people like designer or engineer make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.

I would recommend a simple mnemotechnic to not make a mistake anymore
What's the native file format of GIMP? it's XCF, so I save or save as... .xcf
Everything else are "foreign" format, so I export or export as... ;)

Strangely enough Krita is an exception and quite confusing the very first time(although the window is nicely made), but if I make a mistake in Krita I'll blame myself to not have RTFM, not the software...

_________________
Patrice


Top
 Post subject: Re: The export image "feature" :/
PostPosted: Mon Sep 13, 2021 2:11 am  (#4) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7747
Location: On the other side of this screen
Don't know about you but even after exporting an image I am asked again if I want to save when I go to close the image. This would be to save as an xcf which does keep all your layers
Image

By the way [save] is the name of the image.

_________________


Top
 Post subject: Re: The export image "feature" :/
PostPosted: Mon Sep 13, 2021 3:26 am  (#5) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2438
There is the old saying, backup and backup frequently.

There have been requests to the Gimp devs for an automatic back, much the same as word processing applications. It might come sometime in later Gimp 3

There are backup plugins for Gimp, attached what I consider a reasonable one. It will save x number backup files, and rotate through those. Old but still works with linux (at least my kubuntu) and Win 10 / Gimp 2.10.24 looks like this.

Attachment:
autosave.jpg
autosave.jpg [ 68.78 KiB | Viewed 2243 times ]


Attachments:
autosave_a.zip [12.25 KiB]
Downloaded 36 times

_________________
Image
Top
 Post subject: [SOLVED] Re: The export image "feature" :/
PostPosted: Mon Sep 13, 2021 11:54 am  (#6) 
Offline
GimpChat Member

Joined: Jan 03, 2014
Posts: 97
sallyanne: The problem is that it keeps the file open as the original xcf, so if you hit Ctrl-S in the heat of the moment, you're done. No warnings, nothing. It has nothing to do with my closing the file, but that it was overwritten by mistake, one that should not have happened if GIMP behaved normally. Think what this would be like in other programs, if they all behaved in the same manner.
If I export something (that's "Save as" in most other programs, which leave the original untouched as it is simply closed) as a new file that needs to have only one layer, I expect to be able to continue working with that version, not to stay in the old one and having to close that and open the exported file to continue my work on that single layer. That saves me time, but I guess I'm one of the few who appreciates having more time, not less.
The way it's done now is not good, there should at the very least be an option, like a checkbox in the options to opt for closing the xcf and continue with the exported image.
So I have turned off Ctrl-S and am thinking about changing that to Save a copy, to get at least some warning signs.
rich20005: thanks for this, I'll investigate.
The reason for flattening has, for one, to do with making minor adjustments to the final image. Adjusting drawing mistakes around some edges (back in Krita, since its drawing engine IMO is superior to GIMP's, but GIMP has other features I want to access), but I really don't feel I have to explain myself why I do what I do. It should suffice to say that this is the process that works for me!
Okay, I'm done. I will not comment on this again. Thanks.


Top
 Post subject: Re: [SOLVED] Re: The export image "feature" :/
PostPosted: Mon Sep 13, 2021 3:21 pm  (#7) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4756
Qruqs wrote:
Think what this would be like in other programs, if they all behaved in the same manner.


I don't know what programs you use, but major players like Word, Excel, Notepad++... behave like this.

Qruqs wrote:
The reason for flattening has, for one, to do with making minor adjustments to the final image. Adjusting drawing mistakes around some edges (back in Krita, since its drawing engine IMO is superior to GIMP's, but GIMP has other features I want to access), but I really don't feel I have to explain myself why I do what I do..


Now we are talking. Instead of flattening the image, which is dangerous (something could screw up the undo stack...), do "Layer > New from visible". The "new from visible" layer has the contents of the flattened image, but the image is not flattened, you still have all your layers under that new layer.

Qruqs wrote:
but I really don't feel I have to explain myself why I do what I do..


You don't, but it often helps.

_________________
Image


Last edited by ofnuts on Tue Sep 14, 2021 6:43 am, edited 1 time in total.

Top
 Post subject: Re: The export image "feature" :/
PostPosted: Tue Sep 14, 2021 2:43 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: Sep 27, 2016
Posts: 345
Location: Germany, BW
Quote:
The problem is that it keeps the file open as the original xcf, so if you hit Ctrl-S in the heat of the moment, you're done

The problem is that people think they have to put Ctrl-S on export instead of leaving it as it was.
So it's your own decision to 'reconfigure' GIMP and you should know what you're doing.
This would not have happened to you if you left GIMP as it was.
But some people seem to know better....
Don't blame GIMP then.

_________________
Regards
nelo

(Gimp 2.10 on Linux Mint MATE 20.1)


Top
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts The Pencil feature does not work...

11

No new posts PNG & JPG Export Size

4

No new posts Cannot Export changes [Solved]

15

No new posts Export to tif for print

0

No new posts Attachment(s) How to export a smaller size GIF or PNG?

3



* Login  



Powered by phpBB3 © phpBB Group