Pictures: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Gamester17
No edit summary
(Updated for v20)
 
(62 intermediate revisions by 14 users not shown)
Line 1: Line 1:
==About My Pictures==
{{mininav}}
 
 
= Introduction =
<section begin="intro" />Pictures provides the ability to view your photos within {{kodi}}. It has has the benefit of bringing togethar all your media- Video, Music, Photos - and making them accessible within the one location. View slideshows while playing music or read your comics on the big screen.<section end="intro" />
Pictures is a simple File Browser and viewer. Pictures does not use a database to store information, so currently lacks the feature set and versatility of the Video and Music Libraries, but it is on the Must-Do list for a future release.
 
 
 
= Supported Formats =
The following '''standard''' image file formats are supported: <ref>https://github.com/xbmc/xbmc/blob/master/xbmc/settings/AdvancedSettings.cpp#L435</ref>
{|}
|-
! style="width:50px;" | || style="width:50px;"| .apng ||  style="width:50px;"| .bmp || style="width:50px;"| .cbz || style="width:50px;"| .gif || style="width:50px;"| .ico || style="width:50px;"| .jp2 || style="width:50px;"| .jpg || style="width:50px;"| .jpeg || style="width:50px;"| .pcx || style="width:50px;"| .png || style="width:50px;"| .rss || style="width:50px;"| .tga || style="width:50px;"| .tif || style="width:50px;"| .tiff || style="width:50px;"| .webp || style="width:50px;"| .zip
|}
 
The following '''RAW''' image files are supported: <ref>https://github.com/xbmc/imagedecoder.raw/blob/master/imagedecoder.raw/addon.xml.in#L11</ref>
{|
|-
! style="width:50px;" | || style="width:50px;"| .arw ||  style="width:50px;"| .cr2 ||  style="width:50px;"| .dng || style="width:50px;"| .nef
|}
 
The following '''Stereoscopic''' image files are supported: <ref>https://github.com/xbmc/imagedecoder.mpo/blob/master/imagedecoder.mpo/addon.xml.in#L11</ref>
{|
{|
| valign="top" |
|-
My Pictures is an easy way to view your pictures. It allows you to view them as a slideshow with nice transition effects and even allows you to listen to your music while viewing your slideshow.<BR>
! style="width:50px;" | || style="width:50px;"| .mpo
For a complete list of supported picture/image formats see [[Supported File Formats#Supported picture/image formats:|Supported File Formats]].
|}
 
 
 
= Adding Pictures =
Adding Sources for images is done in the exact same way as adding Sources for Video and Music.
 
If you need a reminder how to do this, see the guide '''''[[Adding_video_sources|Adding Video Sources]]'''''. The only difference will be that you start in the '''Pictures''' menu and all mentions of ''Video'' will be replaced by ''Pictures''.
 
 
 
== RAW Formats ==
If adding Sources that contain RAW image types, the following steps are required:
 
# Enable the binary add-on '''[[Add-on:Libraw_image_decoder | libraw image decoder]]''' located in ''{{highlight|Add-ons→Install from repository→Image decoder}}''
# In the off chance the previous step still does not display your RAW pictures, add the following code to the advancedsettings.xml file. If you already have an advancedsettings.xml file, do not duplicate the ''<advancedsettings>'' tags.
 
<syntaxhighlight lang="xml" enclose="div">
<advancedsettings>
<pictureextensions>
<add>.arw|.cr2|.dng|.nef</add>
<pictureextensions>  
</advancedsettings>
</syntaxhighlight>
 
: '''''See: [[Advancedsettings.xml#Photos_settings | Advancedsettings.xml]]'''''
 
 
 
== Stereoscopic Format ==
This requires the same procedure as per RAW formats above.
 
# Enable the binary add-on '''MPO image decoder''' located in ''{{highlight|Add-ons→My add-ons→Image decoder}}''
# In the off chance the previous step still does not display your steroscopic pictures, add the following code to the advancedsettings.xml file. If you already have an advancedsettings.xml file, do not duplicate the ''<advancedsettings>'' tags.
 
<syntaxhighlight lang="xml" enclose="div">
<advancedsettings>
<pictureextensions>
<add>.mpo</add>
</pictureextensions>   
</advancedsettings>
</syntaxhighlight>


==SlideShow==
: '''''See: [[Advancedsettings.xml#Photos_settings | Advancedsettings.xml]]'''''
The SlideShow function will start a sequential slideshow of all the pictures in the current folder with some nice transition effects. You can enable/disable the transition effects in [[My Pictures Settings]].


==Recursive Slideshow (R. SlideShow)==
This option will display a slideshow using all images in the current folder and all of its subfolders.


==Randomize==
= Viewing Pictures =
When selected, XBMC will display the slideshow in a random order.
Once the Source(s) for Pictures are added, {{kodi}} will cache the thumbnails the first time the picture list is viewed. This will make future loading of picture lists faster.
==Playing Music with your SlideShow==
In order to play music with your slideshow, simply start a music source (playlist, song, etc} and then start the slideshow.<br>
The music will play in the background.


==Zooming in/out on Pictures==
Select any picture to display it. Use left and right arrows to move back and forwards through the pictures. A list of keystrokes is listed below which will also reveal other functions.
This can be performed while viewing individual pictures or in a slideshow. While viewing press ‘A’ to zoom in on controller or “0–9” on remote. To zoom out press ‘X’ on controller or “0–9” on remote. Each successive press will zoom you in or out further by 1x (from 1x to 10x). While zoomed you can use the left thumbstick on controller or arrow buttons on remote to scroll the edges of the picture.
<section begin="PictureKeyboard" />
<br>'''NOTE: If done on a slideshow it will pause it until you stop pressing a button. If you are zoomed in on a slideshow and the picture changes it will not keep those setting from picture to picture.'''
{| class="mw-collapsible mw-collapsed wikitable"
! width="100px"| Keypress
! width="400px"| Action on displayed image
! width="400px"| Action on View Listing
|-
! {{keypress|0}} (zero)
| Cancel zoom
|
|-
! {{keypress|1}}-{{keypress|9}}
| Zoom levels. 1= lowest zoom, 9= highest zoom
|
|-
! {{keypress|c}}
|
| Context Menu
|-
! {{keypress|I}}
| Image Information
| Image Information + Image display
|-
! {{keypress|m}}
|
| Left Sideblade Menu
|-
! {{keypress|p}}
| Start slideshow from currently displayed image
| Start slideshow from currently focused image
|-
! {{keypress|r}}
| Rotate image clockwise
|
|-
! {{keypress|s}}
| {{kodi}} Power Options menu
| {{kodi}} Power Options menu
|-
! {{keypress|x}}
| Exit Viewer or Exit Slideshow
|
|-
! {{keypress|.}}
| Next image
|
|-
! {{keypress|,}}
| Previous image
|
|
[[image:mypictures.jpg|right|360px]]
|-
! {{keypress|right}}
| Next image. If zoomed, then scrolls zoomed image right
| Move to next image
|-
! {{keypress|left}}
| Previous image. If zoomed, then scrolls zoomed image left
| Move to previous image
|-
! {{keypress|up}}
| If zoomed, then scrolls zoomed image up
| Move up a row of images
|-
! {{keypress|down}}
| If zoomed, then scrolls zoomed image down
| Move down a row of images
|-
! {{keypress|home}}
|
| Jump to beginning of list
|-
! {{keypress|end}}
|
| Jump to end of list
|-
! {{keypress|Page Up}}
|
| Jump to next page of images
|-
! {{keypress|Page Down}}
|
| Jump to previous page of images
|}
|}
<section end="PictureKeyboard" />
== Slideshow ==
<gallery mode="packed" widths="700px" heights="394px">
File:Mypictures.jpg|
</gallery>
The slideshow can be activated using the keystroke detailed in the above table or from the '''''[[Basic_controls#Sideblade_Menu|Left Sideblade Menu]]'''''.
Options available in the Left Sideblade menu are as follows:
;View Slideshow
:The slideshow will use the images displayed in the current listing
;Recursive Slideshow
:The slideshow will use the images displayed in the current listing and images in any sub-directories. This option becomes active only when sub-directories with valid images are detected.
;Randomise
:Will mix the order of the images in the slideshow. Can also be set for permanent randomize in the settings page detailed next.
From {{highlight|Settings►Player►Pictures}}, the following settings options are available:
* ''Amount of time to display each image'' - Display time of images during slideshow. The default setting is 5 seconds
* ''Use pan and zoom effects'' - Enable or Disable slideshow Pan & Zoom effects. The default setting is ''Enabled''
* ''Randomise'' - Randomise slideshows. The default setting is disabled, and can be temporarily enabled for the current slideshow from the left sideblade menu
* ''High quality downscaling'' - Enables high quality downscaling of images larger than the display resolution. May impact performance on low powered devices
:'''''See: [[Settings/Player/Pictures]]'''''
From {{highlight|Settings►Media►Pictures}}, the following settings options are available:
* ''Show EXIF picture information'' - Display data embedded in the image
* ''Automatically generate thumbnails'' - Create thumbnails when in folder views
* ''Show video files in listings'' - If video files are mixed in with image files, these video files will also be displayed in listings
:'''''See: [[Settings/Media/Pictures]]'''''
== Background Music ==
To create a slideshow with background music follow these steps:
# Navigate to Music, select and commence playing the required music.
# Back out of the Music section to the main menu using the appropriate key on your remote or {{keypress|backspace}} on a keyboard
# Navigate to Pictures and commence the Slideshow
= Comics =
CBZ and CBR are comic book archive files. They are pictures stored in CBZ (a renamed ZIP-archive) or [[w:CBR|CBR]] (a renamed RAR-archive) format. CBZ and CBR comic book archives are automatically parsed by Kodi (as long as the image-format is supported) so they can be read.
Comic book archives are easily created. Use a compressed image format such as JPEG or PNG. Rename images sequentially and copy all images into a new folder. ZIP/RAR the folder and change the extension to *.cbz or *.cbr respectively. To speed up access by {{kodi}}, do not compress the ZIP/RAR file.
= Add-ons =
The following are lists for Picture and Screensaver add-ons available from the Official Kodi Repository.
== Pictures ==
<dpl>
category = Nexus_add-on_repository
category = Picture_add-ons
notcategory = Outdated
</dpl>
== Screensavers ==
<dpl>
category = Nexus_add-on_repository
category = Screensaver_add-ons
notcategory = Outdated
</dpl>
= References =
<references />


==Comics==
CBZ and CBR are comic book archive files, they are pictures/image stored in CBZ (a renamed [http://en.wikipedia.org/wiki/ZIP_%28file_format%29 ZIP]-archive) or [http://en.wikipedia.org/wiki/CDisplay_RAR_Archived_Comic_Book_File CBR] (a renamed [http://en.wikipedia.org/wiki/Rar RAR]-archive) format. CBZ and CBR comic book archives are automaticly parsed by XBMC (as long as the image-format is supported) so that you can view/read, browse and zoom the pictures it contains.


You can create comic book archives yourself on your computer: Your images should use a compressed format such as JPEG or PNG. Then the easiest way is to copy all images into an new folder, name them properly, [http://en.wikipedia.org/wiki/ZIP_%28file_format%29 ZIP]/[http://en.wikipedia.org/wiki/Rar RAR] the folder, and rename it to *.cbz respectivly *.cbr extention. Though not required, you should configure your ZIP/RAR tool to not compress the files, instead only use the "store" option, (this hardly increases the size of the final archive, but speeds up opening the archive a lot). Note that the prefered comic book archive is CBZ (ie. [http://en.wikipedia.org/wiki/ZIP_%28file_format%29 ZIP]) simple because ZIP tools (and libraries for those who which to create comic book archive readers themself) are more readily available.
{{Top}}
{{updated|20}}


==Thumbnails==
[[Category:Pictures]]
A thumbnail for each picture will automaticly be created for each picture when you enter a share/folder containing pictures under My Pictures, (this process runs in the background and do not affect normal usage).
[[Category:Karellen]]

Latest revision as of 01:49, 15 January 2023

Home icon grey.png   ▶ Pictures


Introduction

Pictures provides the ability to view your photos within Kodi. It has has the benefit of bringing togethar all your media- Video, Music, Photos - and making them accessible within the one location. View slideshows while playing music or read your comics on the big screen.

Pictures is a simple File Browser and viewer. Pictures does not use a database to store information, so currently lacks the feature set and versatility of the Video and Music Libraries, but it is on the Must-Do list for a future release.


Supported Formats

The following standard image file formats are supported: [1]

.apng .bmp .cbz .gif .ico .jp2 .jpg .jpeg .pcx .png .rss .tga .tif .tiff .webp .zip

The following RAW image files are supported: [2]

.arw .cr2 .dng .nef

The following Stereoscopic image files are supported: [3]

.mpo


Adding Pictures

Adding Sources for images is done in the exact same way as adding Sources for Video and Music.

If you need a reminder how to do this, see the guide Adding Video Sources. The only difference will be that you start in the Pictures menu and all mentions of Video will be replaced by Pictures.


RAW Formats

If adding Sources that contain RAW image types, the following steps are required:

  1. Enable the binary add-on libraw image decoder located in Add-ons→Install from repository→Image decoder
  2. In the off chance the previous step still does not display your RAW pictures, add the following code to the advancedsettings.xml file. If you already have an advancedsettings.xml file, do not duplicate the <advancedsettings> tags.
<advancedsettings>
	<pictureextensions>
		<add>.arw|.cr2|.dng|.nef</add>
	<pictureextensions>    
</advancedsettings>
See: Advancedsettings.xml


Stereoscopic Format

This requires the same procedure as per RAW formats above.

  1. Enable the binary add-on MPO image decoder located in Add-ons→My add-ons→Image decoder
  2. In the off chance the previous step still does not display your steroscopic pictures, add the following code to the advancedsettings.xml file. If you already have an advancedsettings.xml file, do not duplicate the <advancedsettings> tags.
<advancedsettings>
	<pictureextensions>
		<add>.mpo</add>
	</pictureextensions>    
</advancedsettings>
See: Advancedsettings.xml


Viewing Pictures

Once the Source(s) for Pictures are added, Kodi will cache the thumbnails the first time the picture list is viewed. This will make future loading of picture lists faster.

Select any picture to display it. Use left and right arrows to move back and forwards through the pictures. A list of keystrokes is listed below which will also reveal other functions.

Keypress Action on displayed image Action on View Listing
0 (zero) Cancel zoom
1-9 Zoom levels. 1= lowest zoom, 9= highest zoom
c Context Menu
I Image Information Image Information + Image display
m Left Sideblade Menu
p Start slideshow from currently displayed image Start slideshow from currently focused image
r Rotate image clockwise
s Kodi Power Options menu Kodi Power Options menu
x Exit Viewer or Exit Slideshow
. Next image
, Previous image
Next image. If zoomed, then scrolls zoomed image right Move to next image
Previous image. If zoomed, then scrolls zoomed image left Move to previous image
If zoomed, then scrolls zoomed image up Move up a row of images
If zoomed, then scrolls zoomed image down Move down a row of images
home Jump to beginning of list
end Jump to end of list
Page Up Jump to next page of images
Page Down Jump to previous page of images



Slideshow

The slideshow can be activated using the keystroke detailed in the above table or from the Left Sideblade Menu.

Options available in the Left Sideblade menu are as follows:

View Slideshow
The slideshow will use the images displayed in the current listing
Recursive Slideshow
The slideshow will use the images displayed in the current listing and images in any sub-directories. This option becomes active only when sub-directories with valid images are detected.
Randomise
Will mix the order of the images in the slideshow. Can also be set for permanent randomize in the settings page detailed next.


From Settings►Player►Pictures, the following settings options are available:

  • Amount of time to display each image - Display time of images during slideshow. The default setting is 5 seconds
  • Use pan and zoom effects - Enable or Disable slideshow Pan & Zoom effects. The default setting is Enabled
  • Randomise - Randomise slideshows. The default setting is disabled, and can be temporarily enabled for the current slideshow from the left sideblade menu
  • High quality downscaling - Enables high quality downscaling of images larger than the display resolution. May impact performance on low powered devices
See: Settings/Player/Pictures


From Settings►Media►Pictures, the following settings options are available:

  • Show EXIF picture information - Display data embedded in the image
  • Automatically generate thumbnails - Create thumbnails when in folder views
  • Show video files in listings - If video files are mixed in with image files, these video files will also be displayed in listings
See: Settings/Media/Pictures


Background Music

To create a slideshow with background music follow these steps:

  1. Navigate to Music, select and commence playing the required music.
  2. Back out of the Music section to the main menu using the appropriate key on your remote or ← Backspace on a keyboard
  3. Navigate to Pictures and commence the Slideshow


Comics

CBZ and CBR are comic book archive files. They are pictures stored in CBZ (a renamed ZIP-archive) or CBR (a renamed RAR-archive) format. CBZ and CBR comic book archives are automatically parsed by Kodi (as long as the image-format is supported) so they can be read.

Comic book archives are easily created. Use a compressed image format such as JPEG or PNG. Rename images sequentially and copy all images into a new folder. ZIP/RAR the folder and change the extension to *.cbz or *.cbr respectively. To speed up access by Kodi, do not compress the ZIP/RAR file.


Add-ons

The following are lists for Picture and Screensaver add-ons available from the Official Kodi Repository.


Pictures


Screensavers


References



Return to top