Android Question Error Loading Bitmap on Corrupted JPG

Discussion in 'Android Questions' started by geoffschultz, Jan 27, 2015.

  1. geoffschultz

    geoffschultz Member Licensed User

    I am trying to load a jpg file which contains a signature in my JobDone routine. However, the jpg is corrupt and generates an Error Loading Bitmap exception. I'm trying to figure out how to handle this. I thought that a Try/Catch would word, but I still get the error. How do I solve this?

    If Job.JobName = "getSig" Then ' signature image
            If Job.Success Then
    signature = Job.GetBitmap
    End Try
    End If
    End If
    Thanks, Geoff
  2. geoffschultz

    geoffschultz Member Licensed User

    Never mind...this works...I was looking at the logs and saw the exception being logged and for some reason didn't expect it to be logged. Duh!

    -- Geoff
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice