Re: How to resize PNG images for button icons

2016-10-14 Thread Chip Scheide
Thanks John On Thu, 13 Oct 2016 19:19:27 -0500, John DeSoi wrote: > I posted this method a while back which does not use SVG commands. > > http://kb.4d.com/resources/inug?msgid=GmailId145b02d07486aa50 > > > John DeSoi, Ph.D. > >> On Oct 13, 2016, at 4:14 PM, Chip Scheide >>

Re: How to resize PNG images for button icons

2016-10-14 Thread Arnaud de Montard
> Le 14 oct. 2016 à 01:02, Wayne Stewart a écrit : > > Hi, > > For those that went to the world tour last year there was a php > example written by Angelo Caroprese. Posted on 4DBB a few days ago: --

Re: How to resize PNG images for button icons

2016-10-13 Thread John DeSoi
I posted this method a while back which does not use SVG commands. http://kb.4d.com/resources/inug?msgid=GmailId145b02d07486aa50 John DeSoi, Ph.D. > On Oct 13, 2016, at 4:14 PM, Chip Scheide <4d_o...@pghrepository.org> wrote: > > I have one problem with this code > SVG_SET_BRIGHTNESS > >

Re: How to resize PNG images for button icons

2016-10-13 Thread Kirk Brooks
Chip, Maybe that was added in v14 or v15? I pasted it in from his component and it just worked. On Thu, Oct 13, 2016 at 2:14 PM, Chip Scheide <4d_o...@pghrepository.org> wrote: > THanks! > > I have one problem with this code > SVG_SET_BRIGHTNESS > > This command does not seem to be part of the

Re: How to resize PNG images for button icons

2016-10-13 Thread Wayne Stewart
Hi, For those that went to the world tour last year there was a php example written by Angelo Caroprese. Very easy to use, but I'm not certain if I'm allowed to post it here though, so I'll check with him first. Regards, Wayne Wayne Stewart about.me/waynestewart On 14 October 2016 at

Re: How to resize PNG images for button icons

2016-10-13 Thread Chip Scheide
THanks! I have one problem with this code SVG_SET_BRIGHTNESS This command does not seem to be part of the 4DSVG component (v13) anyone have a replacement command(s) THanks On Thu, 13 Oct 2016 14:02:13 -0700, Kirk Brooks wrote: > I'm going to seek to close this out by posting Miyako's method

Re: How to resize PNG images for button icons

2016-10-13 Thread Kirk Brooks
Yep - Miyako just gets things done. Thanks Miyako. On Thu, Oct 13, 2016 at 3:35 AM, Arnaud de Montard wrote: > > Fortunately, it seems my pitiful 4 states icon designer career is ended > with this: > > Thanks again,

Re: How to resize PNG images for button icons

2016-10-13 Thread Sujit Shah
The icon library I purchased has all states so no mucking around. On Thursday, 13 October 2016, Arnaud de Montard wrote: > > > Le 12 oct. 2016 à 18:48, Lo > a écrit : > > > > [...] > > Can I say just how much I hate Photoshop and the time I spend

Re: How to resize PNG images for button icons

2016-10-13 Thread Arnaud de Montard
> Le 12 oct. 2016 à 18:48, Lo a écrit : > > [...] > Can I say just how much I hate Photoshop and the time I spend bending > graphics for buttons... Being totally unable to understand photoshop, I used GraphicConverter. Fortunately, it seems my pitiful 4 states icon designer

Re: How to resize PNG images for button icons

2016-10-12 Thread Lee Hinde
I couldn’t tell if you had purchased them or made them yourself. I.e,. where can I get a copy, or look at them… > On Oct 12, 2016, at 10:03 AM, Kirk Brooks wrote: > > Lee, > The files are named for what they do, more or less: cancel.png, prev.png, > etc. and there are

Re: How to resize PNG images for button icons

2016-10-12 Thread Kirk Brooks
Spencer, Thanks for the tips. That's kinda my point though - I don't want to have to muck around with configuring variables for button icons. Plus I keep striving for forms that look and behave the same on Mac, Windoz and web pages. On Wed, Oct 12, 2016 at 9:52 AM, Spencer Hinsdale

Re: How to resize PNG images for button icons

2016-10-12 Thread Spencer Hinsdale
Hi Kirk, You can scale the image used in a 3-D Button by using a Variable and Transform Picture. This works well and works for Retina. We used Picture Buttons previously and also with a Variable in order to support background, mask, and multi-state. 3-D Buttons handle these automatically and

RE: How to resize PNG images for button icons

2016-10-12 Thread Lo
And Kirk said > I think it would be nice if there was basically 1 button object that you can > configure as necessary. Sort of like a JavaScript button where the button > functions and the display attributes are separate. Amen! Love and kisses Lo Can I say just how much I hate Photoshop and

Re: How to resize PNG images for button icons

2016-10-12 Thread Lee Hinde
On Wed, Oct 12, 2016 at 8:41 AM, Kirk Brooks wrote: > A few years ago I started using a set of icon images for buttons. It looks > nice and gives my apps a cohesive look. That set came with a series of > sizes (18x18, 24x24, 32x32, 64x64, 128x128). Those different sizes

Re: How to resize PNG images for button icons

2016-10-12 Thread Kirk Brooks
Sujit, I use those multi-image files for buttons sometimes. They are nice for but require a complicated setup. I mean, you have to generate those very specific image files with the multiple versions of the base image. That's a lot of prep to set it up and change later on. Evidence the fact 4D

Re: How to resize PNG images for button icons

2016-10-12 Thread Sujit Shah
I had to create a new button and forgot about the toolbar button type. All you need is to create a 4row x 1 col image for the normal, mouse over, clicked and disabled states and 4D does the rest very cool On Wednesday, 12 October 2016, Kirk Brooks wrote: > Thanks Miyako.

Re: How to resize PNG images for button icons

2016-10-11 Thread Kirk Brooks
Thanks Miyako. I came across that too. I was laboring under the impression from a few years ago that picture buttons were being phased out but they work great. On Tue, Oct 11, 2016 at 6:59 PM, Keisuke Miyako wrote: > you could use picture buttons, but other than that, >

Re: How to resize PNG images for button icons

2016-10-11 Thread Keisuke Miyako
you could use picture buttons, but other than that, you need to embed that PNG in an SVG, to define a width and height that is much shorter than its real width and size. > 2016/10/12 10:29、Kirk Brooks のメール: > Is there a way I can cause the PNG to resize without either