Then I use the writefile export images
But now picture stand at 90 degrees to export, this do? Thank you,
FileReturned:=KZUpload (lpBuffer);//the function in the DLL KZUpload
FilePath:='e: \ 11. JPG';
HFile:=CreateFile (PChar (filePath),
GENERIC_READ or GENERIC_WRITE,
0,
Nil,
CREATE_ALWAYS,
FILE_ATTRIBUTE_NORMAL.
0);
If (hFile=INVALID_HANDLE_VALUE) then
The begin
MessageBox (GetActiveWindow (), 'failed to create file! ', Nil, MB_OK or MB_ICONERROR);
The CloseHandle (hFile);
The Exit;
end;
Res:=WriteFile (hFile, lpBuffer ^, fileReturned, & amp; FileSaveReturned, nil);
CodePudding user response:
After the export to use software to open, save after rotation Angle asCodePudding user response:
No player can help solve?CodePudding user response:
Stand up,,, this is a question of rotation, you want to dry in program, or want to dry on the outside of the programCodePudding user response:
The program inside, of course, if you can before the WriteFile rotary buffer, then save, take up time? If time is too long, can consider to writefile rotating save again, but because of a photo camera out, hoping to lossless turn 90 degrees, then save down, do not know that there are ways to solve?