OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 'use strict'; | 5 'use strict'; |
6 | 6 |
7 var EXIF_MARK_SOI = 0xffd8; // Start of image data. | 7 var EXIF_MARK_SOI = 0xffd8; // Start of image data. |
8 var EXIF_MARK_SOS = 0xffda; // Start of "stream" (the actual image data). | 8 var EXIF_MARK_SOS = 0xffda; // Start of "stream" (the actual image data). |
9 var EXIF_MARK_SOF = 0xffc0; // Start of "frame" | 9 var EXIF_MARK_SOF = 0xffc0; // Start of "frame" |
10 var EXIF_MARK_EXIF = 0xffe1; // Start of exif block. | 10 var EXIF_MARK_EXIF = 0xffe1; // Start of exif block. |
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 return { | 430 return { |
431 scaleX: ExifParser.SCALEX[index], | 431 scaleX: ExifParser.SCALEX[index], |
432 scaleY: ExifParser.SCALEY[index], | 432 scaleY: ExifParser.SCALEY[index], |
433 rotate90: ExifParser.ROTATE90[index] | 433 rotate90: ExifParser.ROTATE90[index] |
434 }; | 434 }; |
435 } | 435 } |
436 return null; | 436 return null; |
437 }; | 437 }; |
438 | 438 |
439 MetadataDispatcher.registerParserClass(ExifParser); | 439 MetadataDispatcher.registerParserClass(ExifParser); |
OLD | NEW |