Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Image Size
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Image Size

 Post Reply Post Reply
Author
Message
ahmadgames View Drop Down
Groupie
Groupie
Avatar

Joined: 12 April 2011
Location: Jordan
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote ahmadgames Quote  Post ReplyReply Direct Link To This Post Topic: Image Size
    Posted: 22 April 2011 at 5:09am
Hi,

We are in developing a feature to switch the system between (Simple Interface) and (Pro Interface), the simple interface will be as simple as possible, which is standard menu and toolbars, but the Pro interface will be with Ribbons and tabs and so on...

What is the best scenario for the images in order to be clear in both interfaces?

Because for now, I'm using a 32*32px PNG images, which looks GREAT in the ribbon, but after switching to the simple interface (which contains toolbars with 24*24 or 16*16 icons) the images will look bad and not clear.

What is the best practice in order to make it clear in both interfaces (without duplications), because I don't want to make each image twice with both sizes, if so, it will be clear, but with duplication.

See images:

Pro Interface:


Simple Interface:


Thanks.
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit)
Language: Visual Basic 6.0
--------------------------
Ahmad Majid
Development Manager
Hybrid Solutions
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 26 April 2011 at 1:35pm
If you don't like how the library resizes the images then you must add your own sizes.  That is one nice thing about the library is you simply add the each size image with the same ID and that image size will automatically be used for the correct scenario.
Back to Top
ahmadgames View Drop Down
Groupie
Groupie
Avatar

Joined: 12 April 2011
Location: Jordan
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote ahmadgames Quote  Post ReplyReply Direct Link To This Post Posted: 27 April 2011 at 4:23am
Hi SuperMario,

I just tested your suggestion  and it works fine, actually too smart that the library chose the large icon in case of large, and the small one at the same time.

I went through the following scenario, I made PNG images for all large images, and ICO for the small images, and both with the same name (the extension is different only), and  I just switched between them... 

nice one , thank you..

PS: it will be nice if you can develop this suggestion, which is to choose the best size from an Icon with multiple sizes, I mean, in Icon designing, you can put different sizes for the same icon, and MS Windows will choose the best according to your windows settings.. I tested it in your component but it didn't worked, so it  will be good to develop such thing, so no duplicate files will be in the project..

Anyway, thank you for your help.
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit)
Language: Visual Basic 6.0
--------------------------
Ahmad Majid
Development Manager
Hybrid Solutions
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.157 seconds.