• Welcome to Vampyre Imaging Library Forum. Please login or sign up.
 

BUG in calc TranslateUnits for some images

Started by DS.Lin, 25 December 2011, 09:58:08

Previous topic - Next topic

DS.Lin

procedure TMetadata.TranslateUnits(ResolutionUnit: TResolutionUnit; var XRes,  YRes: Single);
....
    XRes := UnitSize / XRes;
    YRes := UnitSize / YRes;

some images, the XRes or YRes is zero, then "divided by zero" exception will raised

DS.Lin


Galfar


Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Name:
Email:

Shortcuts: ALT+S save/post or ALT+P preview

SMF spam blocked by CleanTalk