Bug 394256 - palapeli should read exif data while importing images
Summary: palapeli should read exif data while importing images
Status: REOPENED
Alias: None
Product: palapeli
Classification: Applications
Component: general (show other bugs)
Version: 2.0
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: Stefan Majewsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-14 17:38 UTC by shirish agarwal
Modified: 2018-05-15 12:00 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
add picture dialog (35.44 KB, image/png)
2018-05-14 17:38 UTC, shirish agarwal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description shirish agarwal 2018-05-14 17:38:11 UTC
Created attachment 112650 [details]
add picture dialog

I have been trying to get bunch of pictures into palapeli but it seems to need lot of manual intervention whereas most of the info. asked could be automatically filled if palapeli could get the exif metadata. 

For instance I tried to add a single picture and it needs the info. although all that info. is lready there in terms of exif metadata. 

See the exif metadata - 

$ exiftool MoonEclipseSequence-2783-2833-netClaro.jpg 
ExifTool Version Number         : 10.96
File Name                       : MoonEclipseSequence-2783-2833-netClaro.jpg
Directory                       : .
File Size                       : 1919 kB
File Modification Date/Time     : 2018:05:14 22:59:23+05:30
File Access Date/Time           : 2018:05:14 22:59:23+05:30
File Inode Change Date/Time     : 2018:05:14 22:59:23+05:30
File Permissions                : rw-r--r--
File Type                       : JPEG
File Type Extension             : jpg
MIME Type                       : image/jpeg
Exif Byte Order                 : Little-endian (Intel, II)
Make                            : Canon
Camera Model Name               : Canon EOS 6D
Orientation                     : Horizontal (normal)
X Resolution                    : 72
Y Resolution                    : 72
Resolution Unit                 : inches
Software                        : Adobe Photoshop CS6 (Macintosh)
Modify Date                     : 2016:09:18 01:38:55
Exposure Time                   : 1/3200
F Number                        : 2.8
Exposure Program                : Manual
ISO                             : 2000
Sensitivity Type                : Recommended Exposure Index
Recommended Exposure Index      : 2000
Exif Version                    : 0230
Date/Time Original              : 2016:09:16 20:35:00
Create Date                     : 2016:09:16 20:35:00
Shutter Speed Value             : 1/3200
Aperture Value                  : 2.8
Exposure Compensation           : 0
Max Aperture Value              : 2.8
Metering Mode                   : Multi-segment
Flash                           : Off, Did not fire
Focal Length                    : 200.0 mm
Color Space                     : Uncalibrated
Exif Image Width                : 2000
Exif Image Height               : 1333
Focal Plane X Resolution        : 3810.584958
Focal Plane Y Resolution        : 3815.899582
Focal Plane Resolution Unit     : inches
Custom Rendered                 : Normal
Exposure Mode                   : Manual
White Balance                   : Manual
Scene Capture Type              : Standard
Serial Number                   : 383051000973
Lens Info                       : 70-200mm f/?
Lens Model                      : EF70-200mm f/2.8L IS II USM
Lens Serial Number              : 0000805993
Compression                     : JPEG (old-style)
Thumbnail Offset                : 882
Thumbnail Length                : 4188
XMP Toolkit                     : XMP Core 4.4.0-Exiv2
Rating                          : 0
Metadata Date                   : 2016:09:18 02:17:26+01:00
Creator Tool                    : Adobe Photoshop CS6 (Macintosh)
Lens                            : EF70-200mm f/2.8L IS II USM
Image Number                    : 0
Approximate Focus Distance      : 4294967295
Flash Compensation              : 0
Firmware                        : 1.1.6
Document ID                     : xmp.did:37872bdd-82d6-44b6-935f-8d30aea9b1a3
Original Document ID            : 0280663100187059B1B75514C83CAE78
Instance ID                     : xmp.iid:63e5cb18-07b6-419b-9174-23a9ca78cad6
Format                          : image/jpeg
Raw File Name                   : MoonEclipseSequence-2783-2833-net.jpg
Version                         : 9.1.1
Process Version                 : 6.7
Auto White Version              : 134348800
Incremental Temperature         : 0
Incremental Tint                : 0
Saturation                      : 0
Sharpness                       : 0
Luminance Smoothing             : 0
Color Noise Reduction           : 0
Vignette Amount                 : 0
Shadow Tint                     : 0
Red Hue                         : 0
Red Saturation                  : 0
Green Hue                       : 0
Green Saturation                : 0
Blue Hue                        : 0
Blue Saturation                 : 0
Vibrance                        : 0
Hue Adjustment Red              : 0
Hue Adjustment Orange           : 0
Hue Adjustment Yellow           : 0
Hue Adjustment Green            : 0
Hue Adjustment Aqua             : 0
Hue Adjustment Blue             : 0
Hue Adjustment Purple           : 0
Hue Adjustment Magenta          : 0
Saturation Adjustment Red       : 0
Saturation Adjustment Orange    : 0
Saturation Adjustment Yellow    : 0
Saturation Adjustment Green     : 0
Saturation Adjustment Aqua      : 0
Saturation Adjustment Blue      : 0
Saturation Adjustment Purple    : 0
Saturation Adjustment Magenta   : 0
Luminance Adjustment Red        : 0
Luminance Adjustment Orange     : 0
Luminance Adjustment Yellow     : 0
Luminance Adjustment Green      : 0
Luminance Adjustment Aqua       : 0
Luminance Adjustment Blue       : 0
Luminance Adjustment Purple     : 0
Luminance Adjustment Magenta    : 0
Split Toning Shadow Hue         : 0
Split Toning Shadow Saturation  : 0
Split Toning Highlight Hue      : 0
Split Toning Highlight Saturation: 0
Split Toning Balance            : 0
Parametric Shadows              : 0
Parametric Darks                : 0
Parametric Lights               : 0
Parametric Highlights           : 0
Parametric Shadow Split         : 25
Parametric Midtone Split        : 50
Parametric Highlight Split      : 75
Sharpen Radius                  : +1.0
Sharpen Detail                  : 25
Sharpen Edge Masking            : 0
Post Crop Vignette Amount       : 0
Grain Amount                    : 0
Lens Profile Enable             : 0
Lens Manual Distortion Amount   : 0
Perspective Vertical            : 0
Perspective Horizontal          : 0
Perspective Rotate              : 0.0
Perspective Scale               : 100
Perspective Aspect              : 0
Perspective Upright             : 0
Auto Lateral CA                 : 0
Exposure 2012                   : 0.00
Contrast 2012                   : 0
Highlights 2012                 : 0
Shadows 2012                    : 0
Whites 2012                     : 0
Blacks 2012                     : 0
Clarity 2012                    : 0
Defringe Purple Amount          : 0
Defringe Purple Hue Lo          : 30
Defringe Purple Hue Hi          : 70
Defringe Green Amount           : 0
Defringe Green Hue Lo           : 40
Defringe Green Hue Hi           : 60
Dehaze                          : 0
Tone Map Strength               : 0
Convert To Grayscale            : False
Tone Curve Name                 : Linear
Tone Curve Name 2012            : Linear
Camera Profile                  : Embedded
Camera Profile Digest           : 54650A341B5B5CCAE8442D0B43A92BCE
Lens Profile Setup              : LensDefaults
Has Settings                    : True
Has Crop                        : False
Already Applied                 : False
Source Name                     : NASA Astro Pic of the Day
Image URL                       : http://apod.nasa.gov/apod/image/1609/MoonEclipseSequence-2783-2833-netClaro.jpg
Source URL                      : http://apod.nasa.gov/apod/ap160923.html
Source Location                 : nasa_apod
Source Type                     : apod
Text Layer Name                 : ---------------------------------, w w w . m i g u e l c l a r o . c o m, Miguel Claro
Text Layer Text                 : ---------------------------------, w w w . m i g u e l c l a r o . c o m, Miguel Claro
Document Ancestors              : xmp.did:37872bdd-82d6-44b6-935f-8d30aea9b1a3, xmp.did:47625144-fde7-42d1-921d-942826bdefcd, xmp.did:90933eb4-a2ba-40b0-a4e1-64090a35911e, xmp.did:91dd9cdd-38af-4232-93f9-ec7b194e22f4, xmp.did:c98834e7-0f88-4940-9a11-f664d03f85c5
History Action                  : derived, saved, derived, saved, saved, converted, derived, saved, saved, saved, saved, converted, derived, saved, saved, saved
History Parameters              : converted from image/jpeg to image/tiff, converted from image/tiff to application/vnd.adobe.photoshop, from application/vnd.adobe.photoshop to image/tiff, converted from application/vnd.adobe.photoshop to image/tiff, from image/tiff to image/jpeg, converted from image/tiff to image/jpeg
History Instance ID             : xmp.iid:37872bdd-82d6-44b6-935f-8d30aea9b1a3, xmp.iid:0280117407206811822AA445E50656E7, xmp.iid:0780117407206811822AAF955B2ECF84, xmp.iid:0880117407206811822AAF955B2ECF84, xmp.iid:b804ee6e-16c4-4135-bfd2-314f8c511af0, xmp.iid:8c543a4f-fb23-4616-8acb-48414c8b968b, xmp.iid:EE933E8316206811822AAF955B2ECF84, xmp.iid:EF933E8316206811822AAF955B2ECF84, xmp.iid:F2933E8316206811822AAF955B2ECF84, xmp.iid:63e5cb18-07b6-419b-9174-23a9ca78cad6
History When                    : 2016:09:17 17:42:03+01:00, 2016:09:17 17:49:19+01:00, 2016:09:18 00:27:55+01:00, 2016:09:18 00:27:55+01:00, 2016:09:18 01:07:38+01:00, 2016:09:18 01:09:35+01:00, 2016:09:18 01:31:18+01:00, 2016:09:18 01:31:18+01:00, 2016:09:18 01:38:55+01:00, 2016:09:18 02:17:26+01:00
History Software Agent          : Adobe Photoshop Camera Raw 9.1.1 (Macintosh), Adobe Photoshop CS6 (Macintosh), Adobe Photoshop CS6 (Macintosh), Adobe Photoshop CS6 (Macintosh), Adobe Photoshop Camera Raw 9.1.1 (Macintosh), Adobe Photoshop Camera Raw 9.1.1 (Macintosh), Adobe Photoshop CS6 (Macintosh), Adobe Photoshop CS6 (Macintosh), Adobe Photoshop CS6 (Macintosh), Adobe Photoshop Camera Raw 9.1.1 (Macintosh)
History Changed                 : /, /, /, /, /metadata, /, /, /, /, /metadata
Derived From Instance ID        : xmp.iid:EE933E8316206811822AAF955B2ECF84
Derived From Document ID        : xmp.did:37872bdd-82d6-44b6-935f-8d30aea9b1a3
Derived From Original Document ID: 0280663100187059B1B75514C83CAE78
Tone Curve                      : 0, 0, 255, 255
Tone Curve Red                  : 0, 0, 255, 255
Tone Curve Green                : 0, 0, 255, 255
Tone Curve Blue                 : 0, 0, 255, 255
Tone Curve PV2012               : 0, 0, 255, 255
Tone Curve PV2012 Red           : 0, 0, 255, 255
Tone Curve PV2012 Green         : 0, 0, 255, 255
Tone Curve PV2012 Blue          : 0, 0, 255, 255
Displayed Units X               : inches
Displayed Units Y               : inches
Current IPTC Digest             : f3e76ad1f0a1f1b094134798118470c7
Coded Character Set             : UTF8
Application Record Version      : 4
Date Created                    : 2016:09:16
Time Created                    : 20:35:00+00:00
Photoshop Quality               : 12
Photoshop Format                : Standard
Progressive Scans               : 3 Scans
Photoshop Thumbnail             : (Binary data 4188 bytes, use -b option to extract)
Global Angle                    : 30
Global Altitude                 : 30
Slices Group Name               : MoonEclipseSequence-2783-2833-Final-A
Num Slices                      : 1
URL List                        : 
Has Real Merged Data            : Yes
Writer Name                     : Adobe Photoshop
Reader Name                     : Adobe Photoshop CS6
IPTC Digest                     : 09a8588f67d0e2594bd5720610dc3c41
Print Style                     : Centered
Print Position                  : 0 0
Print Scale                     : 1
Pixel Aspect Ratio              : 1
Profile CMM Type                : Adobe Systems Inc.
Profile Version                 : 2.1.0
Profile Class                   : Display Device Profile
Color Space Data                : RGB
Profile Connection Space        : XYZ
Profile Date Time               : 1999:06:03 00:00:00
Profile File Signature          : acsp
Primary Platform                : Apple Computer Inc.
CMM Flags                       : Not Embedded, Independent
Device Manufacturer             : none
Device Model                    : 
Device Attributes               : Reflective, Glossy, Positive, Color
Rendering Intent                : Perceptual
Connection Space Illuminant     : 0.9642 1 0.82491
Profile Creator                 : Adobe Systems Inc.
Profile ID                      : 0
Profile Copyright               : Copyright 1999 Adobe Systems Incorporated
Profile Description             : Adobe RGB (1998)
Media White Point               : 0.95045 1 1.08905
Media Black Point               : 0 0 0
Red Tone Reproduction Curve     : (Binary data 14 bytes, use -b option to extract)
Green Tone Reproduction Curve   : (Binary data 14 bytes, use -b option to extract)
Blue Tone Reproduction Curve    : (Binary data 14 bytes, use -b option to extract)
Red Matrix Column               : 0.60974 0.31111 0.01947
Green Matrix Column             : 0.20528 0.62567 0.06087
Blue Matrix Column              : 0.14919 0.06322 0.74457
DCT Encode Version              : 100
APP14 Flags 0                   : [14]
APP14 Flags 1                   : (none)
Color Transform                 : YCbCr
Image Width                     : 2000
Image Height                    : 1333
Encoding Process                : Baseline DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:4:4 (1 1)
Aperture                        : 2.8
Date/Time Created               : 2016:09:16 20:35:00+00:00
Image Size                      : 2000x1333
Megapixels                      : 2.7
Scale Factor To 35 mm Equivalent: 1.0
Shutter Speed                   : 1/3200
Thumbnail Image                 : (Binary data 4188 bytes, use -b option to extract)
Circle Of Confusion             : 0.030 mm
Field Of View                   : 10.4 deg
Focal Length                    : 200.0 mm (35 mm equivalent: 197.5 mm)
Hyperfocal Distance             : 469.47 m
Lens ID                         : Canon EF 70-200mm f/2.8L IS II USM
Light Value                     : 10.3


I am running palapeli 4:17.12.2-1 on Debian testing - 


Versions of packages palapeli depends on:
ii  kio                   5.45.0-1
ii  libc6                 2.27-3
ii  libkf5archive5        5.45.0-1
ii  libkf5completion5     5.45.0-1
ii  libkf5configcore5     5.45.0-1
ii  libkf5configgui5      5.45.0-1
ii  libkf5configwidgets5  5.45.0-1
ii  libkf5coreaddons5     5.45.0-1
ii  libkf5crash5          5.45.0-1
ii  libkf5i18n5           5.45.0-1
ii  libkf5itemviews5      5.45.0-1
ii  libkf5kiowidgets5     5.45.0-1
ii  libkf5notifications5  5.45.0-1
ii  libkf5service-bin     5.45.0-1
ii  libkf5service5        5.45.0-1
ii  libkf5widgetsaddons5  5.45.0-1
ii  libkf5xmlgui5         5.45.0-1
ii  libqt5core5a          5.10.1+dfsg-6
ii  libqt5gui5            5.10.1+dfsg-6
ii  libqt5svg5            5.10.1-2
ii  libqt5widgets5        5.10.1+dfsg-6
ii  libstdc++6            8.1.0-1
ii  palapeli-data         4:17.12.2-1

Versions of packages palapeli recommends:
ii  khelpcenter  4:18.04.0-1
ii  qhull-bin    2015.2-4

palapeli suggests no packages.

-- no debconf information
Comment 1 Ian Wadham 2018-05-15 01:58:59 UTC
You seem to have grabbed the wrong end of the stick re Palapeli. It is a jigsaw-puzzle game. The dialog you show in the attachment is for creating a new puzzle from an image-file of a common type such as JPEG or PNG. You have to give Palapeli the file name or browse for it using a standard KDE or Qt file-dialog.

The other entries are to add human-readable title, optional comment and owner of the image. The last is for copyright purposes.

Further dialogs ask for details such as how many pieces to slice the image into and what style of slicing (or piece-shape) to apply.  None of this has anything to do with EXIF as far as I know.
Comment 2 shirish agarwal 2018-05-15 02:58:57 UTC
what I wanted to infer or share is that most of the content that is asked by palapeli is already answered by the exiftool. It would be nice if this bit of information can be extracted by palapeli without human intervention either as an option or a preference so the first dialog page is taken care of and the user could just look into making the puzzle part.