PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV Mobile 2024
→
Rotate Image
Rotate Image
Started by adrianoboller, Nov., 24 2014 12:43 PM - No answer
Connect yourself…
adrianoboller
#1
Registered member
3,661 messages
Popularité : +175 (223 votes)
Posted on November, 24 2014 - 12:43 PM
Procedure
CAM_
RotateImage
(
LOCAL
PathImagem
,
LOCAL
Angulo
,
LOCAL
DebugSN
)
//Existe Configuracao
HReadSeekFirst
(
T000Config
,
T000Config.CodConfig000
,
26
)
IF
HFound
(
T000Config
) =
True
AND
T000Config.Valor000
=
"SIM"
IF
PathImagem
<
>
""
AND
Angulo
<
>
""
WIN_
Camera_FullScreen.IMG_Rotate
=
PathImagem
ok
=
dRotation
(
WIN_
Camera_FullScreen.IMG_Rotate
,
Angulo
)
IF
ok
=
False
AND
DebugSN
=
"S"
THEN
Info
(
"Operação de Rotação Falhou"
)
ELSE IF
ok
=
True
AND
DebugSN
=
"S"
Info
(
"Rotação ok"
)
END
ELSE
Info
(
"Parametros de rotação de imagem vazios nas configurações..."
)
END
END
IF
ok
=
True
ok
=
dSaveImageJPEG
(
WIN_
Camera_FullScreen.IMG_Rotate
,
PathImagem
)
IF
ok
=
False
THEN
Error
(
"Erro ao salvar imagem"
)
END
END
RESULT
(
ok
)
Report
0
0
→ Go back to WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text