root/trunk/uploadr/NOTES

Revision 212, 3.6 kB (checked in by rcrowley, 2 years ago)

Testing commit on the new code.flickr.com.

Line 
1 NOTES
2
3
4
5 Expand gm.thumb to return the date taken as well for use in sorting
6         MySQL format would be nice, as that is string-sortable
7
8 Offer a preference to not create thumbnails in the name of speed
9         Accomplish this with special case param of thumbSize = 0 to gm.thumb
10         This will still return the date taken but will not actually do the thumbing
11
12 As of 8-21-2007
13         Thumbing 127 8 MP JPEGs
14                 Uploadr 3 Mac           97 seconds
15                 Uploadr 3 Win           278 seconds
16                 Uploadr 2.5 Win         312 seconds
17
18
19
20 9-7-2007 meeting with Gino & Stewart
21
22 Make sure it's smart when network drops
23 *** Partial batch tagging - tag a >1 photo selection all at once - append to individual tags
24 Tooltips on toolbar buttons
25 Save state of unuploaded photos on exit
26 Tabs for batches (two total - the uploading batch and the editing batch)
27         When you start upload, create a new tab for the next batch
28         jUploadr/Chronic style photo progress indication
29         User must DO SOMETHING to get to the new batch once uploading starts (button to switch tabs)
30 Ordering options instead of a default
31         Date taken (fallback to alpha if date taken not available)
32         Let me order them
33         Reverse the current thing
34
35 Twiki page!
36
37 Look into embedding Flash into the Uploadr - Picnik
38
39
40
41 Drag selecting photos
42         I couldn't figure out any way other than hardcoding the offsets to make the box actually
43         track the cursor.  document.getElementById('photos').offsetTop isn't set?!
44
45
46
47 9-12-2007 meeting with Gino & Stewart
48
49 Partial batch metadata
50         Overwrite titles always
51         Append to description always (prefix with \n\n)
52                 Could have a pref for append/overwrite for description - nah
53         Confirmation on clicking save
54         *** Make blank title or description not overwrite each photo ***
55                 Do all partial batches like the changed_* checks in settings.js
56         "Leave unchanged" checkbox for privacy metadata that unchecks if they change something
57 Re-adding to a batch after failure
58         Preserve order in the queue, which is the order they wanted
59 Add add-to-set option for each photo and for partial batches
60 Nix the per-photo resize options
61
62
63
64 In case we ever want to set PROPER EXIF orientation rather than actually rotating pixels,
65 here is the C code:
66
67 long orient = exif["Exif.Image.Orientation"].toLong();
68 if (1 > orient || 8 < orient) {
69         orient = 1;
70 }
71 switch (orient) {
72         case 1:
73                 if (90 == degrees) {
74                         orient = 6;
75                 } else if (-90 == degrees || 270 == degrees) {
76                         orient = 8;
77                 }
78         break;
79         case 2:
80                 if (90 == degrees) {
81                         orient = 5;
82                 } else if (-90 == degrees || 270 == degrees) {
83                         orient = 7;
84                 }
85         break;
86         case 3:
87                 if (90 == degrees) {
88                         orient = 8;
89                 } else if (-90 == degrees || 270 == degrees) {
90                         orient = 6;
91                 }
92         break;
93         case 4:
94                 if (90 == degrees) {
95                         orient = 7;
96                 } else if (-90 == degrees || 270 == degrees) {
97                         orient = 5;
98                 }
99         break;
100         case 5:
101                 if (90 == degrees) {
102                         orient = 4;
103                 } else if (-90 == degrees || 270 == degrees) {
104                         orient = 2;
105                 }
106         break;
107         case 6:
108                 if (90 == degrees) {
109                         orient = 3;
110                 } else if (-90 == degrees || 270 == degrees) {
111                         orient = 1;
112                 }
113         break;
114         case 7:
115                 if (90 == degrees) {
116                         orient = 2;
117                 } else if (-90 == degrees || 270 == degrees) {
118                         orient = 4;
119                 }
120         break;
121         case 8:
122                 if (90 == degrees) {
123                         orient = 1;
124                 } else if (-90 == degrees || 270 == degrees) {
125                         orient = 3;
126                 }
127         break;
128         default:
129         break;
130 }
131 exif["Exif.Image.Orientation"] = uint32_t(orient);
132
133
134
135 Rough speed tests 2007-10-31
136         Thumbing 7 photos
137                 Uploadr 2.3             Mac             3s
138                 Uploadr 3.0             Mac             5s
139                 Uploadr 2.3             PPC             7s
140                 Uploadr 3.0             PPC             s
141                 Uploadr 2.5             Win             7s
142                 Uploadr 3.0             Win             13s
143
144
145
146 Files changed in my hacked up XULRunner locales
147         locale/xx-xx/global/dialog.properties
148         locale/xx-xx/global/wizard.dtd
149         locale/xx-xx/mozapps/update/*
Note: See TracBrowser for help on using the browser.