WisdomEnigma/PixelsZoom

image scaling on different media format

Opened this issue · 1 comments

Currently this package version only support png zoom in and zoom out. Lot of media format out there such as jpeg ; gif ; tif etc

When user upload any media format file.

  1. First read media format of a file (.png)
  2. Then Decode according proper format
  3. Run Zoom_kTimes (zoom_in operation)
  4. Run ZoomOut(zoom_out operation)

Bug Description

When will image scale with different media format based on media format type

 if MEDIA_FILE_FORMAT  has .png  {
                          Run ZoomKTimes   // ok
                          Run ZoomOut           // fail
  }

               Run ZoomKTimes // ok 
              Run ZoomOut         //ok

Zoom K Resize Algorithm will resize image resolution up-to +2000%. Currently resize image through vector and regenerate image from vector. In other words Image Resize read image rgba value and translate into vector form which will add some extra pixels value (resize) and now the task is to regenerate back to image with in short time frame