Skip to content

How do I get at the "flip" int in libraw_image_sizes_t? #2

@MikePelton

Description

@MikePelton

Hi - am trying to stop libraw from rotating images which I understand can be achieved by setting the flip variable in the ...image_sizes struct to 0. However I can't see access to that struct via rawlib.cs (I may be missing something obvious of course). Alternatively if I can intercept the EXIF data being read as the file's being opened I could know the original orientation and reverse libraw's rotation in separate code, but I'm not seeing an example of how to interpret the data being passed into EXIFParserCallback(IntPtr context, int tag, int type, int len, uint ord, IntPtr ifp, long _base), specifically how do I read data off the IntPtr ifp? All help welcome - thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions