[GEM-dev] [ pd-gem-Bugs-3007370 ] pix_dump does not properly after an image has been resized

SourceForge.net noreply at sourceforge.net
Thu Jun 10 04:20:06 CEST 2010


Bugs item #3007370, was opened at 2010-05-26 13:53
Message generated for change (Comment added) made by sf-robot
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=507079&aid=3007370&group_id=64325

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Pixes (pix_ objects)
Group: None
>Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Thomas O Fredericks (mrtof)
Assigned to: Nobody/Anonymous (nobody)
Summary: pix_dump does not properly after an image has been resized

Initial Comment:
pix_dump does not dump the pixel data properly of a greyscale video feed that has been resized to 25x25 pixels:
1) The number of pixels returned is 624 instead of 625!
2) If the dumped data is fed back to a pix_set the resulting image is garbage

Note: I want to resize the video to such a low resolution to send the pixel data by serial to a Peggy 2.

----------------------------------------------------------------------

>Comment By: SourceForge Robot (sf-robot)
Date: 2010-06-10 02:20

Message:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

----------------------------------------------------------------------

Comment By: IOhannes m zmlnig (zmoelnig)
Date: 2010-05-26 16:07

Message:
[pix_dump] in greyscale mode currently needs the number of pixels be
dividible by 4.
so if you can live with a 24*24  or a 26*26 image, you will be on the save
side.

anyhow, the issue only skips the remaining pixels, so adding dummy-pixels
manually could help...

i committed a fix to svn/trunk with revision #3357
i committed a fix to svn/branches/0.92 with revision #3359


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=507079&aid=3007370&group_id=64325



More information about the GEM-dev mailing list