Hi Folks!,
Does anybody know of a workaround for ResizeImage() not smoothing the images as advertized.
I tried with and without the PB_Image_Smooth parameter and still no smoothing. Just raw, raw and raw.
Any suggestions would be greatly appreciated!
Thanks!
oh! and btw - I'm a Windows XP user!
ResizeImage() and #PB_Image_Smooth
Can you post your code and possibly a link to your image as the smoothing has never failed to work on my computer.
BTW,
BTW,
You are using the new image and not the old one aren't you?the manual wrote: Note: This function changes the handle of the used image. Therefore it must be newly assigned e.g. to an ImageGadget() with SetGadgetState(). The image size is currently limited to 8192x8192 pixels (if the available memory allow it).
Re: ResizeImage() and #PB_Image_Smooth
Sure, just call it correctly.starax wrote:Hi Folks!,
Does anybody know of a workaround for ResizeImage() not smoothing the images as advertized.
Compare the title of the topic to what you said you tried in your sentence and you will find your error.I tried with and without the PB_Image_Smooth parameter and still no smoothing. Just raw, raw and raw.
Okay, well with you guys being so sure that it worked I finally carried out some *proper* tests and it does indeed appear to be "working".
I think the problem was that I was expecting a little more smoothing than it was giving. So it was easy to overlook the effect with the type of images I was resizing.
Anyway, thanks for replying!
I think the problem was that I was expecting a little more smoothing than it was giving. So it was easy to overlook the effect with the type of images I was resizing.
Anyway, thanks for replying!
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Couple small points, if you don't specify a mode you will get #PB_Image_Smooth by default. It's Raw that you have to ask for specifically. Also, since #PB_Image_Smooth=0 forgetting the # wouldn't cause a problem. (unless you had initialized a var named PB_Image_Smooth with a value other than 0, but that's unlikely)
BERESHEIT