JulianGrahame#10666
Hi
At the moment I am doing this:
Dim bmp As New Aurigma.GraphicsMill.Bitmap
bmp.Load(sPath & sFileName)
'Save image thumbnail
bmp.Transforms.Resize(75,75, Aurigma.GraphicsMill.Transforms.ResizeMode.Fit)
Dim sOutputFilename = sPath & "\thumbs\" & sFileName & ".jpg"
bmp.Save(sOutputFilename, New Aurigma.GraphicsMill.Codecs.JpegEncoderOptions(75, False))
bmp.Dispose()
Response.End()
This works for all common graphics formats but not all psd files. For some PSD files it seems to generate an empty image.
Is there a different technique that always gets the flattened image from a PSD file?
Thanks
JG
At the moment I am doing this:
Dim bmp As New Aurigma.GraphicsMill.Bitmap
bmp.Load(sPath & sFileName)
'Save image thumbnail
bmp.Transforms.Resize(75,75, Aurigma.GraphicsMill.Transforms.ResizeMode.Fit)
Dim sOutputFilename = sPath & "\thumbs\" & sFileName & ".jpg"
bmp.Save(sOutputFilename, New Aurigma.GraphicsMill.Codecs.JpegEncoderOptions(75, False))
bmp.Dispose()
Response.End()
This works for all common graphics formats but not all psd files. For some PSD files it seems to generate an empty image.
Is there a different technique that always gets the flattened image from a PSD file?
Thanks
JG