コンテンツにスキップ

Gallery Function

このコンテンツはまだ日本語訳がありません。

The Gallery function in SenseCraft HMI allows you to transform your screen-based devices into beautiful digital photo frames. You can upload local images or import them from URLs, then display them with customizable transition intervals and visual effects. This feature is perfect for creating ambient displays, information screens, or decorative photo albums using your Seeed Studio display devices.

This tutorial will guide you through using the Gallery function in SenseCraft HMI, covering image upload methods, display settings, and important considerations for optimal performance.

This article will use the reTerminal E1002 as an example to explain how to use this feature on the SenseCraft HMI platform.

Step 1. Navigate to the SenseCraft HMI platform below.

SenseCraft HMI

Step 2. Connect your device or select an already paired device to use.
Step 3. Click on Image Gallery and you can choose to upload local images or import images from a URL.

The Gallery interface consists of several key elements:

  1. Control Panel: This section includes the settings for adding the added items, Pagelisits, jitter modes, and the display direction of the images.
  2. Image Display Area: The main section where your current image is displayed
  3. Image Toolbar: Contains tools for adjusting, or downloading current image
  4. Thumbnail Strip: Shows all uploaded images in your gallery
  5. Action Buttons: Save, Preview, and Deploy buttons for testing and applying your gallery to the device

SenseCraft HMI provides two methods for adding images to your gallery: uploading local files or importing from URLs.

Step 1. Click the New button in the control panel

Step 2. In the dialog that appears,Select Image Gallery, and in the pop-up dialog box, make your selection.Upolad File
Step 3. Click Select Image Files,and choose the images you want to upload from your computer

Step 4. Important image requirements and limitations:

  • Supports JPG, PNG, and GIF formats
  • Photos over 2MB will be automatically compressed
  • Non-5:3 aspect ratios will be adjusted with white padding
  • Target resolution: 800x480 pixels (or your device’s native resolution)
  • Without a MicroSD card, you can upload a maximum of 3 photos
  • With a MicroSD card, you can upload up to 20 photos

Step 5. Select multiple files using Ctrl/Cmd + Click if desired

Step 6. Click “Open” to upload the selected images

Step 1. Click the New button in the control panel
Step 2. In the dialog that appears, 选择Image Gallery,接着选择 Import for URL
Step 3. Enter the direct image URL in the provided field
Step 4. Click “Import” to add the image to your gallery

The interval setting determines how long each image is displayed before transitioning to the next one:

Step 1. Locate the “Interval(min):” field in the control panel

Step 2. Enter your desired display time in minutes (e.g., 1 for one minute per image)

The dither mode affects how images are processed for optimal display on your specific device:

Step 1. Find the “Dither Mode:” dropdown in the control panel


Step 2. Select the appropriate option for your device:
  • Six Colors: Best for color LCD displays, preserves all color information
  • Black and White: Converts images to pure black and white, ideal for monochrome e-paper displays

Each image in your gallery can be adjusted using the toolbar that appears below the image:

From left to right, the tools are:

  1. Fill Horizontally: Adjusts the image to fill the screen horizontally while maintaining aspect ratio
  2. Fill Vertically: Adjusts the image to fill the screen vertically while maintaining aspect ratio
  3. Download: Save the processed image to your computer

You can change the display order of your images using the thumbnail strip:

Step 1. Locate the image thumbnail you want to move in the strip at the bottom of the screen
Step 2. Click and drag the thumbnail to a new position in the sequence
Step 3. Release to set the new order

Once you’ve added and configured your images, you can deploy the gallery to your connected device:

Step 1. Click the “Save” button to store your gallery configuration

Step 2. (Optional) Click “Preview” to see how your gallery will appear on the device without fully deploying it

Step 3. Click “Deploy” to send your gallery to the connected device

Step 4. Wait for the deployment confirmation message

After deployment, your device will begin displaying the images according to your interval setting. Effect Demonstration:

To store more than 3 images on your device, you’ll need to use a MicroSD card:

  1. Format: The MicroSD card must be formatted as FAT32
  2. Size: 8GB or larger recommended (up to 32GB supported)
  3. Speed: Class 10 or higher recommended for better performance
  • On Windows:
    Step 1. Insert your MicroSD card into your computer
    Step 2. Open File Explorer and right-click on the MicroSD card
    Step 3. Select “Format…”
    Step 4. Choose “FAT32” from the File System dropdown
    Step 5. Click “Start” to begin formatting

  • On Mac:
    Step 1. Insert your MicroSD card into your computer
    Step 2. Open Disk Utility (Applications > Utilities > Disk Utility)
    Step 3. Select your MicroSD card from the sidebar
    Step 4. Click “Erase”
    Step 5. Choose “MS-DOS (FAT)” as the format
    Step 6. Click “Erase” to format the card

Step 1. Power off your device
Step 2. Locate the MicroSD card slot on your device
Step 3. Insert the properly formatted MicroSD card

Step 4. Power on your device
Step 5. Reconnect to SenseCraft HMI to verify the expanded storage is recognized

For the best visual results on your device’s display:

  1. Match the resolution: Prepare images that match your device’s native resolution (typically 800x480 pixels)
  2. Consider aspect ratio: Use images with a 5:3 aspect ratio to avoid white padding
  3. Optimize for display type:
  • For color LCD: Standard color images work well
  • For e-paper/e-ink: Higher contrast images with fewer color gradients
  • For 2-color e-paper: Black and white or high contrast images
  1. File size: Keep images under 2MB to avoid automatic compression
  2. Brightness/contrast: Adjust based on your specific display’s characteristics

You can choose the image tool of SenseCraft HMI to optimize your pictures. It can not only be used for previewing your usage in SenseCraft HMI, but also generate C code header files for editing and use in your code. step 1.On the SenseCraft HMI page, select Tools, and then choose Image Dithering

step 2. Upload the image you want to optimize
step 3. Make necessary modifications as required.

  • Edit Image: Can resize the size of the image
  • Screen Type: Select your display screen type
  • Custom: Based on the size of the screen resolution you are using
  • Dither Algorithm: Use algorithms to process your images, and support a variety of commonly used algorithms.
  • Device ID: Your device identifier is used to distinguish your device and is defined according to your engineering requirements.

step 4. Select Preview to view the image displayed on the screen. Depending on your specific situation, you can choose to export the image or generate a header file.

  1. Images not uploading:
  • Check that your image is in a supported format (JPG, PNG, GIF)
  • Ensure the file size is not too large (ideally under 2MB)
  • Try a different browser or clear your browser cache
  1. Cannot upload more than 3 images:
  • Verify that you have a properly formatted MicroSD card inserted in your device
  • Check that the MicroSD card is formatted as FAT32
  • Ensure the device is properly detecting the MicroSD card
  1. Images display incorrectly:
  • Adjust the brightness/contrast using the image toolbar
  • Prepare images that match your device’s resolution
  1. Deployment fails:
  • Ensure your device is properly connected to SenseCraft HMI
  • Check that your device has sufficient storage space
  • Restart your device and try deploying again

The Gallery function in SenseCraft HMI provides an easy way to transform your screen-based devices into digital photo frames. By following this guide, you can upload, manage, and display images on your device with customized settings for optimal viewing.

Remember that for storing more than 3 images, you’ll need a properly formatted MicroSD card inserted in your device. With the right setup, you can create beautiful slideshows and displays that showcase your favorite images on your Seeed Studio display devices.