|
Replies:
12
-
Pages:
1
-
Last Post:
11 Sep 23, 01:42
Last Post By: jret
|
|
|
Posts:
112
Registered:
5-Mar-2009
|
|
|
|
Neptune: new (to me) error
Posted:
9 Sep 23, 21:49
|
|
|
|
I doubt this is a skin error but thought I might get the quickest answer here.
I recently rebuilt one of my albums after a good bit of time and received the following error on numerous (not all) jpg images ... same error attached to each of the offending images.
javax.imageio.IIOException: Metadata components != number of destination bands
Never received this error before so not sure what/why I'm seeing it now. I haven't looked closely at each of the offending jpgs but many were originally scans of family photo albums done by one of my relatives so I'm not certain how they were scanned/processed.
I don't have access to the original photos so re-scanning is not an option. It might be possible to open each image in a decent photo editing program and then resaving them as a "new" jpg file, possibly cleaning up any hidden issues. I haven't tried this yet since it would likely be a slow process. A simpler, faster solution would be preferable.
I'm using a Mac Studio with the latest jAlbum/Neptune updates.
|
|
|
Posts:
8,336
Registered:
31-Jan-2006
|
|
|
|
Re: Neptune: new (to me) error
Posted:
9 Sep 23, 22:21
in response to: jret
|
 |
Helpful |
|
|
Yes, that's the jAlbum core routine that extracts the metadata complaining about what's buried in the photos.
Please attach just one of the offending images, and maybe we can fix it quickly, or provide an easy workaround, other than opening, fiddling, and re-saving in something else - I've got something really handy in mind.
Looking at your existing gallery (on your home page), one setting you might want to turn off is Settings > Advanced > Metadata > Include photographic data in generated images (the second one, not the first - including it in the pages is fine). That can cause problems, though I don't think it's involved in this error.
|
|
|
Posts:
112
Registered:
5-Mar-2009
|
|
|
|
Re: Neptune: new (to me) error
Posted:
10 Sep 23, 02:46
in response to: JeffTucker
|
|
|
|
|
I should have included more info ...
The album giving me fits is the Family album of tuband.com. I recently took everything down since I'm doing a major reorganization of the tuband website. Didn't really change anything in the Family albums but discovered the issues in the Jones album. Open any of the sub albums to see the missing thumbnails. Clicking on the missing space sometimes (not always) opens up the larger image. I think every sub album is affected, some more than others.
I've attached 2 files - same image handled two different ways. Scanned at the same time as far as I know. One works, the other doesn't. To look at them on the website go to jones/warren
|
|
|
Posts:
8,336
Registered:
31-Jan-2006
|
|
|
|
Re: Neptune: new (to me) error
Posted:
10 Sep 23, 03:07
in response to: jret
|
|
|
|
I’ll have to come back to this later. Heavy thunderstorms rolled over the mountain I live on, leaving me with no interwebs. It’s a miracle that the power is still on.
|
|
|
Posts:
112
Registered:
5-Mar-2009
|
|
|
|
Re: Neptune: new (to me) error
Posted:
10 Sep 23, 03:12
in response to: JeffTucker
|
|
|
|
We're currently having a thunderstorm as well. Doesn't seem too bad but giving some much needed rain. I live in the foothills of N. Georgia mountains, about 20 minutes from the southern starting point of the Appalachian Trail.
|
|
|
Posts:
8,336
Registered:
31-Jan-2006
|
|
|
|
Re: Neptune: new (to me) error
Posted:
10 Sep 23, 14:07
in response to: jret
|
|
|
|
Using those two images (plus a few of my own), plus your album settings, I'm not getting any errors when making the album, and there are no missing thumbnail or slide images. But your family album is missing large numbers of files.
First, do a complete uninstall and reinstall of jAlbum. On a Mac, that's usually not the source of problems, but it's quick and easy. Also reinstall the skin.
Now start a new little test project, adding just those two images. Import the settings from your family album - File, Import, Settings from Project, and navigate to the .jalbum-settings.jap file of your family album project.
For good measure, uncheck Settings > Advanced > Metadata > Include photographic data in generated images. (I'm suspicious of this, because it often causes problems.)
Now make the album. Don't even try to upload anything - just do a local preview. Are there any missing thumbnails or slides?
|
|
|
Posts:
112
Registered:
5-Mar-2009
|
|
|
|
Re: Neptune: new (to me) error
Posted:
10 Sep 23, 14:26
in response to: JeffTucker
|
|
|
|
will follow your suggestions & report back - probably later today. Thanks.
|
|
|
Posts:
112
Registered:
5-Mar-2009
|
|
|
|
Re: Neptune: new (to me) error
Posted:
10 Sep 23, 23:07
in response to: JeffTucker
|
|
|
|
Followed your suggestions ...
Uninstalled jAlbum and skins. Also uninstalled (deleted) a couple of jAlbum folders stored in hidden areas of a Mac - just in case.
Reinstalled jAlbum and Neptune.
Set up test folder and imported settings.
Unchecked photographic data in generated images.
Made the test album with a couple of images - no errors. Added more images - no errors.
On a hunch I deleted the destination folder (family) and, using the original source folder, project file, settings, etc. I remade the original album. No errors.
Went back to the Metadata settings and checked the photo data in generated images - Bingo, many (not all) the errors reappeared. Unchecked it and rebuilt the project again with no errors.
Is the photo data in generated images checked by default? I don't remember fiddling with this. Also, what's the purpose of generating photo data in the image?
|
|
|
Posts:
8,336
Registered:
31-Jan-2006
|
|
|
|
Re: Neptune: new (to me) error
Posted:
11 Sep 23, 00:02
in response to: jret
|
|
|
I do love it when a hunch pays off.
Is the photo data in generated images checked by default?
No. In fact, when you choose that option, jAlbum warns you that it might be ugly.
...what's the purpose of generating photo data in the image?
You might be offering the images for downloading, and want to preserve things like the original camera information (exposure, aperture, etc.) or the GPS coordinates. Facebook, for example, strips out all of that stuff, so if you save someone's photo from a Facebook post, the original GPS info is, sadly, gone. So, you end up having to ask your nephew which mountain peak the picture was shot from.
What made me think that might be the problem here was your mention of scanned images. Scanning software often doesn't handle the metadata properly. After all, there's no "camera" info involved, anyway. But that does mean that attempts to write out metadata to the generated slide images can result in some pain. I noticed, for example, that a lot of your missing images weren't actually missing the files - the files were there, but were mangled beyond usability. When you're debugging, this is what's known as "a hint." 
|
|
|
Posts:
8,336
Registered:
31-Jan-2006
|
|
|
|
Re: Neptune: new (to me) error
Posted:
11 Sep 23, 00:11
in response to: JeffTucker
|
|
|
I've updated the help wiki to reflect this newly-learned hard lesson.
Link to wiki page
|
|
|
Posts:
112
Registered:
5-Mar-2009
|
|
|
|
Re: Neptune: new (to me) error
Posted:
11 Sep 23, 01:25
in response to: JeffTucker
|
|
|
|
Even tho I don't remember checking the metadata box I must have done so since I use the GPS info for the maps option. Odd that the errors did not show up earlier.
The Family albums have only one sub album that consists almost entirely of scanned images. The other Family albums are photos that don't produce the error. Is there an easy way to isolate the single album with scanned images to prevent the errors but keep the metadata in the other albums? If not, I can copy each scanned image and save it as a new jpg image or leave the metadata out of all the images and not have GPS in the other albums.
|
|
|
Posts:
112
Registered:
5-Mar-2009
|
|
|
|
Re: Neptune: new (to me) error
Posted:
11 Sep 23, 01:42
in response to: JeffTucker
|
|
|
|
thanks for the clarification
|
|
|
|
Legend
|
|
Forum admins
|
|
Helpful Answer
|
|
Correct Answer
|
|