mercredi 18 janvier 2017

Google Photos Prepares to Allow for Editing the Date and Time of a Photo

Google Photos has always been one of Google’s more useful services. The photo backup service has garnered widespread praise for its unlimited, free backup features as well as its robust sharing capabilities. But one area that Google Photos has always lagged in is the ability to edit your photos. Luckily over time, Google has been introducing more and more features to allow you to customize your pictures to your liking (though the editing features are not as robust as those found in some of its competitors).

Editing your photo to produce a better image is one thing, but what about editing your image to make it easier to organize? Unfortunately, the ability ot Google Photos to modify EXIF data has been rather limited. Even today, the ability to edit something as basic as the date and timestamp of a photo is limited to the desktop version. This can be frustrating if you primarily manage your photos on your phone (which there’s no shame in doing, the Android application is pretty well-designed) and you want to re-arrange certain photos to your liking. But with Google Photos version 2.7 now rolling out, that may soon change. A teardown of the APK reveals that Google may soon allow you to edit the EXIF timestamp of your photos.

Although a teardown can provide valuable information regarding upcoming features, it is entirely possible that these features may not make their way into the final product. Do not take these teardowns as proof that a feature will be added, but rather as a hint of what could be coming.


Google Photos Teardown

Within the latest version of Google Photos, there is an interesting string located within the APK that hints at the ability to edit the timestamp of a photo:

<string name="photos_mediadetails_details_edit_datetime_icon_content_description">Edit icon to allow the user to edit the date/time of the media.</string>

As you can see, there apparently will be an icon within the picture detail screen that will allow you to simply edit the date/time of the media. Previously, you were limited to just editing the location EXIF data. Now it appears that changing the date and time will soon be possible as well. Further evidence for this new feature can also be found with a new layout file called exif_datetime_item.xml that has been added to the APK:

Google Photos Teardown

exif_datetime_item.xml

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="horizontal" android:id="@id/exif_datetime_item_layout" android:padding="@dimen/photos_mediadetails_item_padding" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="@dimen/photos_mediadetails_item_min_height"
xmlns:android="http://ift.tt/nIICcg">
<ImageView android:layout_gravity="center" android:id="@id/icon" android:padding="@dimen/photos_mediadetails_item_padding" android:layout_width="66.0dip" android:layout_height="36.0dip" />
<LinearLayout android:orientation="vertical" android:padding="@dimen/photos_mediadetails_item_padding" android:layout_width="0.0dip" android:layout_height="wrap_content" android:minHeight="@dimen/photos_mediadetails_item_min_height" android:layout_weight="1.0">
<TextView android:layout_gravity="start|center" android:id="@id/label" android:paddingLeft="2.0dip" android:paddingTop="8.0dip" android:paddingRight="2.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@style/quantum_text_subhead_black" />
<TextView android:textColor="@color/quantum_black_secondary_text" android:layout_gravity="start|center" android:id="@id/value" android:paddingLeft="2.0dip" android:paddingRight="2.0dip" android:paddingBottom="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@style/quantum_text_subhead_black" />
</LinearLayout>
<ImageView android:layout_gravity="center" android:id="@id/edit_icon" android:padding="@dimen/photos_mediadetails_item_padding" android:visibility="gone" android:layout_width="66.0dip" android:layout_height="36.0dip" android:src="@drawable/quantum_ic_mode_edit_black_18" android:contentDescription="@string/photos_mediadetails_details_edit_datetime_icon_content_description" android:alpha="0.38" />
</LinearLayout>

The name of the layout file and the description of the string are quite clear: editing the EXIF timestamp of a photo may soon be available on the Android version of the application. Furthermore, this layout file seems to directly correspond to the added string, as you can see where it calls to draw the “edit icon”. Desktop users (and even iOS users) have had this ability for quite some time now, so hopefully it finally makes its way to Android as well.



from xda-developers http://ift.tt/2iT51en
via IFTTT

Aucun commentaire:

Enregistrer un commentaire