Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Problem with damaged images and trying to sort for them in a large database

Featured Replies

Hi,

 

I have an odd problem.  I've imported about 1.1 million images into filemaker pro.

 

I've got the main image on the left and the thumbnail image on the right and they are in container fields.

 

Here's what it looks like:  http://screencast.com/t/nZ2CWMK749H

 

As you can see there are two examples of the "damaged file" showing up as "blank white boxes" rather than as images of a book cover.

 

Actually when I right click on a "good" image in the container I can "export" it.  When I right click on the "damaged" file, I don't get the "export" choice, so perhaps this means there is no "damaged" file there and that it's just a blank container?

 

Right now I am scrolling down through 1.1 million images and marking the items that have the "error" ie: no image so I can deal with them separately ie: sort for them once I've marked them as blank or damaged.

 

The problem is there is no way to "sort" for a blank white image that is in a container field.

 

I just don't know how to isolate them so I can deal with them.

 

Any ideas?

 

Thanks,

 

David

Use the Python PIL package on the images before importing. It's as easy as this for one file:

 

 

from PIL import Image 

v_image = Image.open(file) 
v_image.verify()

 

You could add a way to loop through a folder of images.

 

There are probably ways to do this with less learning.

 

Easier using OS X as Python is already there.

 

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.