PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
Off-topic
→
Rotation d'image
Rotation d'image
Started by jean-marie, Jul., 05 2007 4:44 PM - 3 replies
Connect yourself…
jean-marie
#1
Posted on July, 05 2007 - 4:44 PM
bonjour,
je me heurte a un probleme.
j'ai fais beaucoup de recherches et Patrice Terrier m'a donné quelques pistes.
j'ai des images .jpg que je souhaite faire pivoter.
je veux ensuite enregistrer cette rotation dans le fichier lui-même et dans sa vignette.
je sais qu'il faut en passer par un Device Context et une API mais je ne sais pas laquelle.
toute aide, voire du code, sera la bienvenue.
cordialement
jean-marie
Report
0
0
Patrice Terrier
#2
Posted on July, 05 2007 - 6:17 PM
Pour les rotations "simples" vous pouvez utiliser l'API "StretchBlt"
http://users.belgacom.net/rgs/vb/Graphics,%20Flip,%20Mirror,%20and%20Rotate%20routines.txt
http://www.codeguru.com/cpp/g-m/gdi/comments.php/c3673/…
Et bien sûr il y aussi les API proposées par GDImage...
Report
0
0
jean-marie
#3
Posted on July, 06 2007 - 1:08 AM
merci de l'info.
j'ai fait un pas de plus mais je ne suis pas encore au bout du chemin
bien cordialement
jean-marie
Report
0
0
jean-marie
#4
Posted on July, 06 2007 - 10:27 AM
M.Terrier,
j'y ai travaillé hier soir.
l'api "StretchBlt" fait tourner une image mais ne la sauvegarde pas si j'ai bien compris.
en fait ce dont j'ai besoin c'est ce qui se cache derriere le "zSaveImageToFile" et "ZI_SetProperty" de votre projet Zoomplus.
je ne desespère pas de trouver !
cordialement
jean-marie
Report
0
0
→ Go back to Off-topic
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
WEBDEV (earlier versions)
WINDEV Mobile (earlier versions)
Reports & Queries
Off-topic
Tools
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