a method and apparatus provide a leadless imager packaging structure having an integrated leadframe and a first encapsulant with an opening , which is covered by a transparent plate to form a cavity . the cavity contains an integrated circuit having a light sensitive area facing the transparent plate and which is electrically connected to the leadframe . the integrated circuit is encapsulated within the cavity by a second encapsulant .