Free Support Forum - aspose.com

GetOriginalOptions always return null

Hi Aspose Team,

I want to get the Original Image Option of the image that I am loading in c# but it returns Null

public void GetImageProperty(string originalFilePath)
{
using (RasterImage img = (RasterImage)Image.Load(originalFilePath))
{

            ImageOptionsBase option = img.GetOriginalOptions();
            img.Save("image1.jpg", img.GetOriginalOptions());

        }
    }

@MarkMariano

Can you please elaborate your requirements and also share the source file that you are using on your end so that we may investigate that further on our end to help you out.