Click here to Skip to main content
15,900,973 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problems when trying to abstract D3D11 types in a class with C++ Pin
Graham Breach4-Apr-20 4:16
Graham Breach4-Apr-20 4:16 
GeneralRe: Problems when trying to abstract D3D11 types in a class with C++ Pin
txesmi4-Apr-20 4:54
txesmi4-Apr-20 4:54 
QuestionFacial Recognition in C++, from scratch Pin
Ana Gheorghiță3-Apr-20 0:58
Ana Gheorghiță3-Apr-20 0:58 
AnswerRe: Facial Recognition in C++, from scratch Pin
Richard MacCutchan3-Apr-20 1:59
mveRichard MacCutchan3-Apr-20 1:59 
AnswerRe: Facial Recognition in C++, from scratch Pin
_Flaviu5-Apr-20 0:42
_Flaviu5-Apr-20 0:42 
Questioninverse sinus, floats Pin
Calin Negru2-Apr-20 21:25
Calin Negru2-Apr-20 21:25 
AnswerRe: inverse sinus, floats Pin
Richard MacCutchan2-Apr-20 21:35
mveRichard MacCutchan2-Apr-20 21:35 
GeneralRe: inverse sinus, floats Pin
Calin Negru2-Apr-20 21:53
Calin Negru2-Apr-20 21:53 
AnswerRe: inverse sinus, floats Pin
CPallini2-Apr-20 21:57
mveCPallini2-Apr-20 21:57 
GeneralRe: inverse sinus, floats Pin
Calin Negru2-Apr-20 23:01
Calin Negru2-Apr-20 23:01 
GeneralRe: inverse sinus, floats Pin
CPallini2-Apr-20 23:18
mveCPallini2-Apr-20 23:18 
GeneralRe: inverse sinus, floats Pin
Calin Negru2-Apr-20 23:36
Calin Negru2-Apr-20 23:36 
GeneralRe: inverse sinus, floats Pin
CPallini3-Apr-20 2:17
mveCPallini3-Apr-20 2:17 
GeneralRe: inverse sinus, floats Pin
Victor Nijegorodov2-Apr-20 23:39
Victor Nijegorodov2-Apr-20 23:39 
GeneralRe: inverse sinus, floats Pin
Calin Negru3-Apr-20 0:02
Calin Negru3-Apr-20 0:02 
GeneralRe: inverse sinus, floats Pin
Calin Negru6-Apr-20 5:53
Calin Negru6-Apr-20 5:53 
GeneralRe: inverse sinus, floats Pin
CPallini6-Apr-20 11:12
mveCPallini6-Apr-20 11:12 
GeneralRe: inverse sinus, floats Pin
Calin Negru6-Apr-20 20:55
Calin Negru6-Apr-20 20:55 
GeneralRe: inverse sinus, floats Pin
CPallini6-Apr-20 22:29
mveCPallini6-Apr-20 22:29 
AnswerRe: inverse sinus, floats Pin
Calin Negru12-Apr-20 6:38
Calin Negru12-Apr-20 6:38 
QuestionNot able to set DPI for PNG files - libpng Pin
Gopi Nath2-Apr-20 18:23
Gopi Nath2-Apr-20 18:23 
Hello Everyone,

I am using libpng library for generating PNG files which is working fine. But it always generating with DPI 96 by default.

I tried using png_set_pHYs for setting the resolution before calling png_write_png. But its not generating with the specified DPI.

Before and after calling png_set_pHYs, i am checking the DPI using png_get_pHYs, it was showing the correct values whatever i set.

What may be the issue? And is that possible to set DPI for PNG file?

Please suggest.

Regards,
Gopinath.
GeneralRe: Not able to set DPI for PNG files - libpng Pin
Richard MacCutchan2-Apr-20 21:33
mveRichard MacCutchan2-Apr-20 21:33 
GeneralRe: Not able to set DPI for PNG files - libpng Pin
Gopi Nath2-Apr-20 22:08
Gopi Nath2-Apr-20 22:08 
GeneralRe: Not able to set DPI for PNG files - libpng Pin
Richard MacCutchan2-Apr-20 22:11
mveRichard MacCutchan2-Apr-20 22:11 
Question[C++] Where to find coding examples and exercises? Pin
den2k881-Apr-20 22:53
professionalden2k881-Apr-20 22:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.