thingsgogl.blogg.se

How do i resize a photo to 2mb
How do i resize a photo to 2mb













how do i resize a photo to 2mb
  1. #HOW DO I RESIZE A PHOTO TO 2MB PDF#
  2. #HOW DO I RESIZE A PHOTO TO 2MB FULL#

(I would have dug it up and taken it home to put in my cactus garden, but that is illegal here.) When I took the photo above on my Android phone, my phone saved it at 2 MB size for 1019 x 764 pixels. Need to create a new script separate from moodlethat will work only in a specific moodeldata directory and process the newly created graphics extension files in it. Here is an example of a photo taken with my smartphone: This is a nice picture that I snapped of a a flowering cactus near my home in Chile. In the work of this procedure there will be no mass load on the central processor of the server until the teacher opens the desired original file through the "grade" tool.ģ) The next version of the tool is related to photo optimization.

#HOW DO I RESIZE A PHOTO TO 2MB PDF#

Otherwise, every time after updating the kernel of the system, me will have to make additional code changes every time.Ģ) At the time of the formation of the pdf document when creating a temporary png file from the original downloaded photo file - at this moment can add the ImageMagick function to optimize the photo according to the parameters set in advance.

how do i resize a photo to 2mb

I don’t want to make changes to the moodle kernel code either. In order not to overload the server’s CPU during mass processing of photo files, which may lead to a slowdown in the moodle core performance. Otherwise, you can restart the server’s central processor, which may slow down the kernel moodle. Now this task is not the main thing for me.Ĭurrently, I see 3 ways to solve this task.ġ) At the moment, my main task is to find the optimal solution for inserting the image processing function through ImageMagick, which works only through the file entry and exit procedure. This can be done in the form of a drop-down list or enter values in the form field manually.

how do i resize a photo to 2mb

Width (px) x height (px) and image compression quality. Initially, I was thinking of adding an additional basic settings option to the new plugin: Unfortunately, the file converter is difficult for most admins to set up or they do not do it for various reasons, but it actually performs some very useful functions. The ghostscript options in edit pdf plugin could be changed to give a better result. I uploaded a 4M jpeg image file and downloaded a 825K png file. You can right click the image and select 'View background image' to download the png image. The image is reduced from the original resolution. When the teacher grades the assignment an image is generated for the teacher to see and to mark with annotations. The image converter needs to be set by the admin and ghostscript installed for it to work correctly.

#HOW DO I RESIZE A PHOTO TO 2MB FULL#

To do see this set up assignment where students upload a full scale image and enable pdf feedback under the feedback options in the setting. The pdf feedpack plugin for assign does generated a compressed or reduced resolution image that is substantially smaller than the original. Actually there is a standard feature that does this although it could be fine tuned.















How do i resize a photo to 2mb