Click here to Skip to main content
15,918,624 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: (OpenGL/MFC/Win32) glReadPixels and CreateBitmap question... Pin
User 742933814-Jan-11 10:03
professionalUser 742933814-Jan-11 10:03 
QuestionString Problem Pin
john563214-Jan-11 1:22
john563214-Jan-11 1:22 
AnswerRe: String Problem Pin
Stephen Hewitt14-Jan-11 1:34
Stephen Hewitt14-Jan-11 1:34 
AnswerRe: String Problem Pin
Maximilien14-Jan-11 1:59
Maximilien14-Jan-11 1:59 
Questioncreate dimmed icon with magick++ (ImageMagick) Pin
Thue Andersen13-Jan-11 22:10
Thue Andersen13-Jan-11 22:10 
AnswerRe: create dimmed icon with magick++ (ImageMagick) Pin
Chris Losinger14-Jan-11 3:04
professionalChris Losinger14-Jan-11 3:04 
AnswerRe: create dimmed icon with magick++ (ImageMagick) [modified] Pin
User 742933814-Jan-11 11:33
professionalUser 742933814-Jan-11 11:33 
GeneralRe: create dimmed icon with magick++ (ImageMagick) Pin
Thue Andersen16-Jan-11 5:00
Thue Andersen16-Jan-11 5:00 
So imagemagick internally uses magenta as transparent colour?
And when I changed the opacity of the whole image it also applied this for the transparent colour.

The two suggested solutions sound interesting,

I have tried to implement solution two.
image.opacity(MaxRGB / 2);
Magick::Color color(MaxRGB, 0, MaxRGB, MaxRGB / 2);
image.transparent(color);


But why is this exstra step necessary? In the command line we just set 50% alpha and done.

Would there be a better solution to create a dimmed icon?
GeneralRe: create dimmed icon with magick++ (ImageMagick) Pin
Rozis18-Jan-11 8:08
Rozis18-Jan-11 8:08 
GeneralRe: create dimmed icon with magick++ (ImageMagick) Pin
Thue Andersen18-Jan-11 22:13
Thue Andersen18-Jan-11 22:13 
QuestionIsalpha Function Issue. Pin
Mike Certini13-Jan-11 18:00
Mike Certini13-Jan-11 18:00 
AnswerRe: Isalpha Function Issue. Pin
Cool_Dev13-Jan-11 18:11
Cool_Dev13-Jan-11 18:11 
GeneralRe: Isalpha Function Issue. Pin
Andrew Brock13-Jan-11 18:15
Andrew Brock13-Jan-11 18:15 
GeneralRe: Isalpha Function Issue. Pin
Mike Certini13-Jan-11 18:28
Mike Certini13-Jan-11 18:28 
AnswerRe: Isalpha Function Issue. Pin
Luc Pattyn14-Jan-11 0:56
sitebuilderLuc Pattyn14-Jan-11 0:56 
GeneralRe: Isalpha Function Issue. Pin
Mike Certini13-Jan-11 18:28
Mike Certini13-Jan-11 18:28 
AnswerRe: Isalpha Function Issue. Pin
Richard MacCutchan13-Jan-11 22:00
mveRichard MacCutchan13-Jan-11 22:00 
Questionwcstok [modified] Pin
csrss13-Jan-11 2:40
csrss13-Jan-11 2:40 
AnswerRe: wcstok Pin
Cedric Moonen13-Jan-11 2:53
Cedric Moonen13-Jan-11 2:53 
GeneralRe: wcstok Pin
csrss13-Jan-11 3:20
csrss13-Jan-11 3:20 
GeneralRe: wcstok Pin
Luc Pattyn13-Jan-11 3:26
sitebuilderLuc Pattyn13-Jan-11 3:26 
GeneralRe: wcstok Pin
csrss13-Jan-11 3:29
csrss13-Jan-11 3:29 
GeneralRe: wcstok Pin
Luc Pattyn13-Jan-11 3:40
sitebuilderLuc Pattyn13-Jan-11 3:40 
GeneralRe: wcstok Pin
csrss13-Jan-11 4:04
csrss13-Jan-11 4:04 
QuestionRe: wcstok Pin
Luc Pattyn13-Jan-11 4:14
sitebuilderLuc Pattyn13-Jan-11 4:14 

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.