Slow image processing with pixie

2024-02-28 Thread guzba
That loop proc imgData(img: Image): string = for d in img.data: result.add(char d.r) result.add(char d.g) result.add(char d.b) result.add(char d.a) Run is a crazy slow way of doing this. If you just need raw RGBA values, just use i

12 Reasons You Shouldn't Invest in Sugar Defender

2024-02-28 Thread LeanJBarnes
⇨ OFFICAL WEBSITE:- Sugar Defender:- Sugar Protector focuses on resolving the predominant issue of raised glucose levels, a huge wellbeing worry in this day and age. ⇨FACEBOOK:- ⇨FACEBOOK:-

Slow image processing with pixie

2024-02-28 Thread MisterDrgn
Thanks for pointing this out. So viu doesn't actually resize images--it simply give kitty the desired dimensions and lets kitty handle that. However, under this approach it is still necessary to 1. Load in an image 2. Extract the raw rgba values 3. Print these values to a file [NOTE: This

Slow image processing with pixie

2024-02-28 Thread treeform
We tried to make pixie really fast, I doubt your problem is with pixie speed. After looking at `viu` program in rust, sorry I don't know rust well, but it it looks like it uses the `viuer` create to actually print the image. The way it appears to do it is to write the image to a tmp file and hav

Slow image processing with pixie

2024-02-28 Thread MisterDrgn
Resizing can't be the only issue because if I tell it not to resize at all, it still takes 80-90ms, whereas the other program consistently takes 25-30ms regardless of size. ...actually, it's pretty interesting that the nim program takes 85ms with no resize, but it takes 30ms if I resize it to v

Slow image processing with pixie

2024-02-28 Thread demotomohiro
Two libraries you are comparing speed use same algorithms? There are many algorithm to resizing an image. When resizing an image to smaller size, fast algorithm samples one pixel from source image and higher quality but slower one samples multiple pixels.

Slow image processing with pixie

2024-02-28 Thread MisterDrgn
Hi all, new user here, so apologies if I'm missing something obvious, or if I'm posting this question in the wrong place. I've been playing with an old (no updates in the last two years) project on github: This is a nim program that takes an an image from a

Using NiGUI, open a second window from main window

2024-02-28 Thread Trustable
Here another example: import nigui app.init() var mainWindow = newWindow("Main window") var container1 = newLayoutContainer(Layout_Vertical) mainWindow.add(container1) var button1 = newButton("Open new window") container1.add(button1) var ind

Hire a professional hacker! (Telegram: @Blackhat_plug)

2024-02-28 Thread arnoldpritzker
OMG, I am writing this review about CYBER-GENIE-HACK-PRO with shock. I never believed by any chance you could get back money sent to scammers. After the investment, I was introduced to and invested hundreds of thousands turned sour and gave me sleepless nights. I was introduced to Cyber Genie Ha

What will happen if allocation fails?

2024-02-28 Thread Araq
Correct.

Sugar Defender Reviews (URGENT ALERT) Experts Expose

2024-02-28 Thread dennisussel
Sugar Defender:- drops is for anyone who want to balance sugar level and lose weight. So, if you are a person, who wants to burn fat and bring glucose level to acceptable range. Then, this is the product for you. If you are diabetic or pre-diabetic, then this is the product for you. Most produc

What will happen if allocation fails?

2024-02-28 Thread sls1005
So a `ref` returned by `new`, or a `ptr` returned by `alloc` (or `allocShared`, or `create`, or similar), is never `nil`?

Using NiGUI, open a second window from main window

2024-02-28 Thread enaaab460
Both windows are responsive, but trying to tick a counter on the second window is a bit tricky

Using NiGUI, open a second window from main window

2024-02-28 Thread enaaab460
I copied the first example , then added the code of the second window I basicly created a second window by copying the code of the first window, then added the command to show the second window in the callback

Using NiGUI, open a second window from main window

2024-02-28 Thread enaaab460
However the second window is not interactive because it is not multithreaded. I am still figuring it out :)

Using NiGUI, open a second window from main window

2024-02-28 Thread MauroG
Hello, I'm using the NiGUI library. Does anyone know if there is a way to show a second window by clicking on a button in the main window? Do you have any examples to show me to perform this operation? In the examples present in the project on Github I don't think there is any of this.

Joint Plus CBD Gummies Diabetes: A Comprehensive Solution for Stress and Pain Reduction

2024-02-28 Thread RidgewayIesha
╰┈➤Official Website:- ╰┈➤Facebook Pages:- Joint Plus CBD Gummies Diabetes:Importantly, Joint Plus CBD Gummies Diabetes are

Our CBD Life Gummies: Where To Buy Gummies For Pain?

2024-02-28 Thread ourlifeprice
I included Our CBD Life Gummies for a brief time frame outline frame and am offering my experiences to every one of you. Prospering Labs offers a brand name the USA amassed and made Hemp Oil creative to help with anything life tosses at you, whether that be weight and strain or rest-related issu

KavaSlim Pro Reviews: Legit Women’s Weight Loss Supplement?

2024-02-28 Thread ourlifeprice
To reasonably utilize the KavaSlim Pro Diet, you should be on a genuine ketogenic diet. Otherwise, you won't gobble up your additional fat as quickly. Coming up next are a couple of experiences to assist you with obtaining your best outcomes: Increment fat? Unusually, you need to encourage fat f

sending to a channel before opening it doesn't create an error

2024-02-28 Thread Clonk
Hi, If I am not mistaken the recommended channels to use for multithreading is Otherwise, as far as i know there is no compile time mechanism to determine if the channel has been opened.

What will happen if allocation fails?

2024-02-28 Thread Araq
`OutOfMemDefect` is raised. There is also `system.outOfMemHook` that you can set.