Click here to Skip to main content
14,542,394 members

C / C++ / MFC

 
GeneralRe: inverse sinus, floats Pin
Victor Nijegorodov2-Apr-20 23:39
MemberVictor Nijegorodov2-Apr-20 23:39 
GeneralRe: inverse sinus, floats Pin
fearless_3-Apr-20 0:02
Memberfearless_3-Apr-20 0:02 
GeneralRe: inverse sinus, floats Pin
fearless_6-Apr-20 5:53
Memberfearless_6-Apr-20 5:53 
GeneralRe: inverse sinus, floats Pin
CPallini6-Apr-20 11:12
mveCPallini6-Apr-20 11:12 
GeneralRe: inverse sinus, floats Pin
fearless_6-Apr-20 20:55
Memberfearless_6-Apr-20 20:55 
GeneralRe: inverse sinus, floats Pin
CPallini6-Apr-20 22:29
mveCPallini6-Apr-20 22:29 
AnswerRe: inverse sinus, floats Pin
fearless_12-Apr-20 6:38
Memberfearless_12-Apr-20 6:38 
QuestionNot able to set DPI for PNG files - libpng Pin
Gopi Nath2-Apr-20 18:23
MemberGopi 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
MemberGopi 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 
AnswerRe: [C++] Where to find coding examples and exercises? Pin
Richard MacCutchan1-Apr-20 23:55
mveRichard MacCutchan1-Apr-20 23:55 
GeneralRe: [C++] Where to find coding examples and exercises? Pin
den2k881-Apr-20 23:58
professionalden2k881-Apr-20 23:58 
GeneralRe: [C++] Where to find coding examples and exercises? Pin
Richard MacCutchan2-Apr-20 0:15
mveRichard MacCutchan2-Apr-20 0:15 
AnswerRe: [C++] Where to find coding examples and exercises? Pin
CPallini2-Apr-20 2:14
mveCPallini2-Apr-20 2:14 
GeneralRe: [C++] Where to find coding examples and exercises? Pin
David Crow2-Apr-20 4:45
MemberDavid Crow2-Apr-20 4:45 
GeneralRe: [C++] Where to find coding examples and exercises? Pin
k50542-Apr-20 6:24
mvek50542-Apr-20 6:24 
AnswerRe: [C++] Where to find coding examples and exercises? Pin
leon de boer2-Apr-20 5:20
Memberleon de boer2-Apr-20 5:20 
GeneralRe: [C++] Where to find coding examples and exercises? Pin
den2k882-Apr-20 6:16
professionalden2k882-Apr-20 6:16 
GeneralRe: [C++] Where to find coding examples and exercises? Pin
Richard MacCutchan2-Apr-20 6:44
mveRichard MacCutchan2-Apr-20 6:44 
GeneralRe: [C++] Where to find coding examples and exercises? Pin
den2k882-Apr-20 6:49
professionalden2k882-Apr-20 6:49 
QuestionTCHAR vs built in char Pin
fearless_1-Apr-20 22:52
Memberfearless_1-Apr-20 22:52 
AnswerRe: TCHAR vs built in char Pin
den2k881-Apr-20 22:57
professionalden2k881-Apr-20 22:57 
GeneralRe: TCHAR vs built in char Pin
Richard MacCutchan1-Apr-20 23:50
mveRichard MacCutchan1-Apr-20 23:50 

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.