Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.

General Chat

General Chat
872 posts | Last Activity on 10-01-2024 14:20 by miker1264
M
miker1264 10-01-2024 14:20, 4 months ago
Re: Icon Tools
[quote name=AMIGASYSTEM post=3652]@AMIGASYSTEM - I can't wait to try it out I made you two builder's logos, are not beautiful, but they show your great work :)[/quote] AMIGASYSTEM Wow! I really like the one on the left. May I use that in my program? Maybe make the Title Text a little smaller and add the 'i' that is missing so that it fits between the nail holes. I have to make two more logo images.
Responded in Icon Tools
M
miker1264 10-01-2024 12:57, 4 months ago
Re: Icon Tools
It seems that my Alpha Blending method is working but it still needs some fine tuning. In the first image it has no alpha Blending. The second image has alpha Blending. This is an actual screenshot. Now I need to put some code behind the button menu. Some of them already work.
Responded in Icon Tools
Amiwell79
Amiwell79 10-01-2024 11:57, 4 months ago
Re: The Fun of the Universe is to destroy Families!
I'm very sick but I'm hanging in there, stay strong man
serk118uk
serk118uk 10-01-2024 11:49, 4 months ago
Re: The Fun of the Universe is to destroy Families!
[quote name=AROS-Confidence post=3647]@AROS-Confidence - Sorry for that oine![/quote] Are you okay?
AROS-Confidence
AROS-Confidence 10-01-2024 11:42, 4 months ago
Re: The Fun of the Universe is to destroy Families!
Sorry for that oine!
AMIGASYSTEM
AMIGASYSTEM 09-01-2024 17:26, 4 months ago
Re: Icon Tools
IconBuilder I believe is a tool that does not exist on AROS but neither does AMiGA. It will almost certainly be of interest to many, as IconEditor was to me, without this tool my icons would never have existed :)
Responded in Icon Tools
M
miker1264 09-01-2024 15:26, 4 months ago
Re: Icon Tools
After evaluating several alpha pixels in the original image and comparing the resulting values from ReadRGBPixel I've worked out the Alpha Blending Formula. If the background color is (153,153,153) and the ARGB pixel is (13,0,0,0) this is the formula: //Alpha Blending //alpha=13 //factor= 1-[(roundup(alpha/3))/100] = (1 - 0.05) = 0.95 //value = (int)153*(factor) = (145,145,145). This is the DrawLargeImage function so far. In the screenshot "pixel buffer" is the byte buffer containing the pixel data from the original image which is the small image. Each ARGB pixel in the original image gets mapped to a region of pixels which are 2x2 in this case since pixelateSize=2.
Responded in Icon Tools
M
miker1264 09-01-2024 15:14, 4 months ago
Re: Icon Tools
[quote name=AMIGASYSTEM post=3629]@AMIGASYSTEM - Nice miker, will IconBuilder also be available for our distributions?[/quote] It's a specialized tool mostly to help me make the selected image Glow borders. But if anyone feels that it may be useful I can post the finished application with some instructions. This is what the buttons do: Make Glow Mask will eventually draw the Glow mask (without blur effect). Until then I draw it by hand. Make Image Tile will reduce all alpha values less than 255 to 0. So the RGB "Tile" Image remains with a completely transparent background. That makes selection using the Magic Wand Tool easier. Clean Glow Mask removes the RGB Tile Image after the Glow Mask has been drawn. The RGB Tile Image is replaced by white pixels. This makes it easier in the next step to apply the blur effect to produce the glow Border. The glow border results when the blur effect is applied to the glow mask in Photoshop. Once the glow border (blurred) is produced Apply Glow Mask will use the Tile Image and Composite it on top of the Glow Border Image. Assemble Icons will use an icon list to assemble a directory full of icon image pairs and save the icons to the output directory. Although all these things can be done by hand in just a few minutes per icon image. If you are processing 50 icon images maybe what took an hour now only takes 10 min using Icon Builder. More importantly with IconBuilder I'm developing a re-usable User Interface that allows me to finish the IconToolkit Application, the ThemeBuilder Application and the MUIBuilder. The Logo Image, Button Menu and Enlarged Image are all new. That can be used in other applications.
Responded in Icon Tools
AMIGASYSTEM
AMIGASYSTEM 09-01-2024 14:02, 4 months ago
Re: Icon Tools
Nice miker, will IconBuilder also be available for our distributions?
Responded in Icon Tools
M
miker1264 09-01-2024 14:00, 4 months ago
Re: Icon Tools
After doing some investigating yesterday I traced the CybergraphX ReadRGBPixel function. It uses DoPixelFunct which then reverts to do_pixel_funct which is part of Rom/Graphics. I suppose that should have been my first clue. ReadPixel only uses RGB values. After investigating today by evaluating the pixel values this is what I found: I chose a sample pixel that is (255,46,58,78). It's an ARGB 32 bit pixel. Yet ReadRGBPixel returns 3029582 which is 2E3A4E or in decimal it is 46,58,78. So the alpha is missing. It's only RGB. That makes sense because it uses the same function as ReadPixel. Something strange happens when reading alpha pixels (less than 255). The color (12,0,0,0) has an alpha of 12 but ReadRGBPixel returns (146,146,146). So it seems that ReadRGBPixel uses Premultiplied Alpha with the background color (153 in this case). Part of the mystery is solved. Now I can supply a sample value for WriteRGBPixel then go from there.
Responded in Icon Tools
M
miker1264 09-01-2024 12:25, 4 months ago
Re: Icon Tools
In the previous screenshot you can see the original icon image (small image) on the top left of the display area. The enlarged image is drawn at 2x at a slight offset so they don't overlap. I achieved this by drawing the original image as usual into the Rasterport with WritePixelArray. Then using ReadRGBPixel and WriteRGBPixel along with my Pixelate function I can easily draw the enlarged image. But for this method the original image must first be present in the window. This method can be used later for IconPress and IconSplit. But for IconBuilder I only want to show the enlarged image. So far I have tried drawing the original image to an off screen Rasterport but that failed to work. I also tried to address each ARGB pixel in the image then manually convert it to a LONG value to use with WriteRGBPixel. But for some reason all the alpha values are lost in the process. Another method is to copy pixel data from the original byte array to an enlarged byte array then display it. But that seems like a lot of extra work.
Responded in Icon Tools
M
miker1264 09-01-2024 12:02, 4 months ago
Re: Icon Tools
This is my newest Icon Tool. It's just for personal use to help me make lots of new icons quickly. It is "Icon Builder" and it uses a button menu for common icon building tasks. For the enlarged image on the right I'm trying to use my "Pixelate" function. I've developed a new method to draw the large image.
Responded in Icon Tools
Amiwell79
Amiwell79 08-01-2024 10:50, 4 months ago
Re: Tiny Aros Distrò
va bene:)
Responded in Tiny Aros Distrò
AMIGASYSTEM
AMIGASYSTEM 08-01-2024 10:39, 4 months ago
Re: Tiny Aros Distrò
As deadwood has already said, the new Core (C Library) is incomplete, so it should not be distributed in order to prevent these files from being used, as soon as deadwood makes the Core officially available, then it can be made available La e our Distributions! ---- Italiano ---- Come già detto da deadwood, il nuovo Core (Libreria C) è incompleto, quindi non bisogna distribuirlo onde evitare che questi file siano utilizzati, appena deadwood renderà disponibile ufficiale il Core, allora si potrà rendere disponibile sulle nostre Distribuzioni !
Responded in Tiny Aros Distrò
Amiwell79
Amiwell79 08-01-2024 09:28, 4 months ago
Re: Tiny Aros Distrò
i'm successfully using tny aros with the latest deadwood build and it's working fine i plan to release a new one in a few days! [url=https://ibb.co/G0ZLxyr][img]https://i.ibb.co/W6rwxZR/tiny.jpg[/img][/url]
Responded in Tiny Aros Distrò
D
deadwood 08-01-2024 03:45, 4 months ago
Re: AROS Hosted Screen Resolution
You can to Prefs/ScreenMode and select the resolution you like.
W
Wintermute 08-01-2024 03:03, 4 months ago
Re: AROS Hosted Screen Resolution
Hi everyone, I am running AROS hosted, inside a Fedora distro. The window starts only at the full screen resolution (which is problematic - it is a window, so part of the windows lands outside the screen). There is no Boot application to change this behaviour (there is an icon, no executable file though). How can I change the starting screen resolution to something more sensible? Thanks a lot!
Amiwell79
Amiwell79 04-01-2024 09:03, 4 months ago
Re: Tiny Aros Distrò
for the next release we have to wait until there are fixes to be made'.
Responded in Tiny Aros Distrò
Amiwell79
Amiwell79 04-01-2024 08:51, 4 months ago
Re: Tiny Aros Distrò
I have changed the theme for the next release 'arosminimal2':)
Responded in Tiny Aros Distrò
Amiwell79
Amiwell79 02-01-2024 20:44, 4 months ago
Re: Icon Tools
many thanks:)
Responded in Icon Tools
You can view all discussion threads in this forum.
You cannot start a new discussion thread in this forum.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
Moderator: Administrator

Filter by Tags

Popular Threads This Week

AROS One x86 Work In Progressby AMIGASYSTEM 140 posts
Tiny Aros Distròby Amiwell79 103 posts
Bars&Pipes 1.0 is Availableby Amiwell79 53 posts
Development Planby deadwood 32 posts
Errors in DOS commands?by OlafSch 3 posts
Buttons not shownby OlafSch 1 post
Sign In
Not a member yet? Click here to register.
Forgot Password?
Users Online Now
Guests Online 8
Members Online 0

Total Members: 224
Newest Member: Zhule
Member Polls
Should AROSWorld continue with AROS-Exec files (SMF based)?
Yes44 %
44% [12 Votes]
No26 %
26% [7 Votes]
Not sure30 %
30% [8 Votes]