Preservation of original picture
VENCO
Joined: 2004-03-01
Posts: 78 |
Posted: Sat, 2009-07-04 20:52 |
From the updated description in http://sourceforge.net/apps/trac/gallery/ticket/339 I understand that the original versions of pictures are not preserved in G3. I rotated an image to test this and found that my file went from 1.6mb to about 850kb! Next thing I did was to change the advanced settings of image_quality from the default of 75 to 100. This drastically increases the file size after a rotate and increases further after each additional rotate. Is there a way to preserve the original in G3? For example, can I change image_quality to a particular value that preserves the file, or any other setting? I would greatly appreciate preservation of the original file as one of the reasons I like the gallery programs, is because it allows me to have an offsite backup of my important pictures. If the original is no longer preserved I lose that "feature". _________________________ |
|
Posts: 61
I agree... Using Gallery and by that have file preservation is one of the reasons I decided to have an online Gallery of my photos.
Posts: 358
Probably won't happen. One of the design philosophies of g3 was to keep it simple and that it would meet the requirements of 80% of the users. The idea being that the specialized functionality required by the other 20% would be developed by the community. We tried to make the learning curve for writing modules a lot flatter (i.e. check out gallery3-contrib/developer module)
We also made a conscious decision to limit the amount of images that were stored. so there is only the thumb, resize and the fullsize. If you want to keep the fullsize as backup, then remove edit permissions which should remove the rotate capability.
An if you truly need it, it would be very simple to write a module that adds a new directory to tmp (backup) and on the item add event, copies the file to the backup directory and creates a database table to index the backups.
http://www.timalmdal.com
Posts: 3
Seems using jpegtran for looseless rotation is best way to preserve original images. But for now it is unsupported by G3
Posts: 7994
rWatcher has started working on a keeporiginal module for G3. http://codex.gallery2.org/Gallery3:Contrib_Modules
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!
Posts: 78
bharat: Thanks for notification of that module.
And thank you rWatcher for developing the module! It is an exact solution to my concerns.
_________________________
[img]http://indefik.com/pics/forumrandom.jpg[/img] (Random picture from my G2)
[img]http://indefik.com/pics/lyricsrepositorysmall.jpg[/img]
Posts: 12
Love the module and also is exactly what I need as well.
Is it possible to merge the logic for "Download Fullsize Image" to detect if "Keep Original" is enabled and use that image (if available).
Keep in mind I only mean the button link - the full size image's that display need to look accurate.
Regards,
Mike
Posts: 7994
@MikePisano: Please file a feature request for that idea, thanks!
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!
Posts: 181
Hmmm. One step forward, one step back! Gallery 2 could use jpegtran to rotate jpegs losslessly. This module seems to be solving the wrong problem. :-/
Posts: 181
https://sourceforge.net/apps/trac/gallery/ticket/607
Posts: 7994
All things in time. We'll get to it when we can!
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git