• Welcome to Vampyre Imaging Library Forum. Please login or sign up.
 

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - davem

16
Help & Questions / Quality of resizing
19 April 2010, 21:37:22
  Hi,
  first of all thanks for the great library!!

  However I got a problem resizing images because I always get rectangles in areas with the same or very similar color (such as the sky, wall etc). The rest of image (for example faces) are perfect. I used bicubic filter, I also tried to change the hardcoded value in the following code (in Imaging.pas, line 2334) to use other filters (sfGaussian, sfLanczos, sfMitchell) but the only difference was that the size of the rectangles has changed a little.

        rfBicubic: StretchResample(WorkImage, SrcX, SrcY, SrcWidth, SrcHeight,
          DstImage, DstX, DstY, DstWidth, DstHeight, sfCatmullRom);

Am I doing something wrong or is this a bug? I used to use the attached unit in the previous versions of my program and that one produces much better results (you can compare, all attached).

Source: JPEG (from a camera)
Resolution: 13 MPix

The original picture is too large so you can get it from here: http://www.ildam.cz/foto/IMG_3692.JPG

  Please help!

   Thanks, David
17
Quote from: Galfar on 15 February 2009, 15:30:51
Raw with *.raw filename is usually just pixels without any header, not the image from camera.
I'll look into Nikon and Canon raws but I'm afraid these two are protected somehow.


Hi Galfar,
any news on this topic??

  Thanks, David
18
Ah, I didn't know. My graphic editor supports opening of something called "Raw format" (ext. RAW) but I don't know what the format really is and I haven't tried if it supports the files generated by my camera. Anyway I would appreciate to be able to open raw formats of basically any camera using vampyre but if there are many formats it doesn't have sence to implement all of them.  :'(

Anyway, thank you for your answer!

By the way, do the formats also differ among products of one producer? If not maybe it would be sufficient to support Nikon and Canon. Who buys the others??   ::)
19
I meant images from digital cameras. That would be really great. I would actually only need to open them, it does not have much sence to save them, does it?

Thank you, Dave
20
Hi,
thanks for this great library!!!!!! Would it be possible to add support of RAW??

  Thank you, David
SMF spam blocked by CleanTalk