OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Applications => Topic started by: Martin Iturbide on September 10, 2016, 04:20:07 pm

Title: Icon Editor Issues with v2 Icons
Post by: Martin Iturbide on September 10, 2016, 04:20:07 pm
Hi

I was organizing some OS/2 icons and creating/editing some others. I thought it might be a good idea to start saving the icons on 128x128 on Deep color (24-bit).  PMView saves the icons in OS/2 2.x and OS/2 1.x format without issues. Both versions looks fine on OS/2 desktop and opens fine on Icon Editor.

But if I save those icons on OS/2 2.x format on Icon Editor, after saving it for the first time it saves the file and looks good. But If I try to edit those icons again (with Icon Editor) it looks wrong (check picture) and I can not longer save it because some memory issue error.

Does somebody experience that issue? Or is it something of my local workstation?
I'm thinking on sticking with format 1.x so Icon Editor can still open those.

Regards
Title: Re: Icon Editor Issues with v2 Icons
Post by: ak120 on September 13, 2016, 09:19:49 pm
It's more complex topic. PMView's handling of OS/2 icon formats is quite wrong, especially dealing with transparency and palettes. OS/2 Icon Editor is not perfect but the things that do work produce correct results. In fact there are at least 5 different formats for OS/2 ICO.
* OS/2 1.1
* OS/2 1.2
* OS/2 2.0
* OS/2 2.0 RLE

Title: Re: Icon Editor Issues with v2 Icons
Post by: Joop on September 16, 2016, 10:58:00 am
Both versions looks fine on OS/2 desktop and opens fine on Icon Editor.
May be I misread the message, but how do you get 128x128 pixel icons visible on the desktop as 128x128 icon?
Iconeditor can go up to 256x256 icons, but it will slow down your system because those icons take a lot of space compared to the 40x40 icons. I tried to use a 256x256 icon, but it comes back as a 40x40 on the desktop, even if you have only 1 icon with 256x256 as icon instead of multipage icons with 16x16, 20x20, 32x32 and 40x40 icons.
Title: Re: Icon Editor Issues with v2 Icons
Post by: ak120 on September 16, 2016, 02:05:42 pm
The actual size of icon display depends on Presentation Device Driver AFAIK. 8514 and XGA will use 40x40 size while device-independent and VGA only 32x32. I'm not sure about SNAP. Some drivers (Matrox?) had special options to change icon size.
All this terminology leads to a lot of confusion when using Icon Editor nowadays. For instance it's still possible to create icons for OS/2 1.1 PM - but not very logical. Simply using one device with B/W 1.1 and save it with 1.2 format (unfortunately 1.1 format is grayed out in UI) will create the typical 288 byte size.
Title: Re: Icon Editor Issues with v2 Icons
Post by: Martin Iturbide on September 16, 2016, 02:48:47 pm
Hi

I was trying that "Big Icon" functionality on eCS 2.2. There is a difference (for example) if you put your desktop on 128x128 and you have an 40x40 icon and 128x128 icon. The 40x40 icon looks blurry on the edges, while the 128x128 icon looks with sharp edges (kind of obvious why).

I had been testing those on a VM with SNAP without performance issues and the icons are showing fine on 40x40 or 128x128, no matter the size you set up for the desktop/folder with "Big Icon".

Regards
Title: Re: Icon Editor Issues with v2 Icons
Post by: ak120 on September 16, 2016, 03:20:00 pm
Hi

I was trying that "Big Icon" functionality on eCS 2.2.
When it became released, never saw an announcement about.

Quote
There is a difference (for example) if you put your desktop on 128x128 and you have an 40x40 icon and 128x128 icon. The 40x40 icon looks blurry on the edges, while the 128x128 icon looks with sharp edges (kind of obvious why).

I would check if 40x40 is really displayed and not scaled down to 32x32 by WPS.

Quote
I had been testing those on a VM with SNAP without performance issues and the icons are showing fine on 40x40 or 128x128, no matter the size you set up for the desktop/folder with "Big Icon".

I don't know what you mean by "Big Icon", never used this program.
Title: Re: Icon Editor Issues with v2 Icons
Post by: Martin Iturbide on September 16, 2016, 04:36:40 pm
Hi.

Quote
When it became released, never saw an announcement about.
It is on the latest eCS 2.2 beta, it is installed by default. I think that is the "Sunny Icons" that was included on eCS 2.2 beta.

(http://www.os2world.com/forum/index.php?action=dlattach;topic=1125.0;attach=1432)

Here are some samples of an low resolution icon being saved on other sizes.

(http://www.os2world.com/forum/index.php?action=dlattach;topic=1152.0;attach=1493)

(http://www.os2world.com/forum/index.php?action=dlattach;topic=1152.0;attach=1495)


Regards
Title: Re: Icon Editor Issues with v2 Icons
Post by: ak120 on September 16, 2016, 05:22:50 pm
Now I realize, you're talking about this lousy russian hack that puts PNG images to file's EA. That seems to have almost nothing to do with OS/2 Presentation Manager icon formats at all. I was not aware of bundling with this crap.
Title: Re: Icon Editor Issues with v2 Icons
Post by: Martin Iturbide on September 16, 2016, 09:47:02 pm
Hi.

On this case I'm not using PNG icons, I'm just using to see how expanded icons shows up.

Regards
Title: Re: Icon Editor Issues with v2 Icons
Post by: ak120 on September 17, 2016, 05:18:06 pm
And CONFIG.SYS setting is right?

SET ENH_STRETCH=NO
Title: Re: Icon Editor Issues with v2 Icons
Post by: Martin Iturbide on September 22, 2016, 04:24:06 am
Hi.

Yes, I have "SET ENH_STRETCH=NO" on the Config.sys.

I had disabled it (REM) and tried it out too. I didn't noticed any difference.

Regards.