Item13024: implemented =frame= and =layer= params

... for thumbnail extraction from videos, animations and layered images